Tuesday, July 22, 2014

Essential Management of packages over APT-GET

0 comments

Essential Management of packages over APT-GET
Apt-get package manager is the default in Ubuntu distro and other distos which are based on it like Linux Mint and others, apt-get is known by its ability to manage packages and repositories system quickly and easily, we will explain in this post simple basics of package management system via apt-get.

In Linux, specifically Ubuntu, there are so-called repositories, which are a place where you can find all versions of packages and applications so that the users can later install easily by adding a link of a repository to their system and use apt-get to install software they want, creating a repository is not for new users it is an advanced stage, now you will learn a few basic commands for apt-get.

To install the package :

sudo apt-get install package 

Do not forget to replace package to the name of package you want to install.

To remove a package :

sudo apt-get remove package 

To remove the pack and all the settings :

sudo apt-get purge package 

To check for updates :

sudo apt-get update 

To upgrade a specific package :

sudo apt-get upgrade pacakge 

To upgrade all packages :

sudo apt-get upgrade 

To search for the package :

sudo apt-cache search package 

To add a repository from Launchpad :

sudo add-apt-repository ppa: something/someone 

Do not forget to replace the text in red colour to the repository, which you find in Launchpad.

To remove the repository from Launchpad :

sudo add-apt-repository - remove ppa: something / someone 

To clean up the packages from /var/cache/apt/archives/ :

sudo apt-get clean 

To remove the non-required packages :

sudo apt-get autoremove 

You can explore more options for apt-get commands in some online guides.

     
Read more...

A quick glance at the shell script

0 comments

A quick glance at the shell script

Linux system consists of several components, the most important of these components is the Linux kernel which is the heart of the system, the so-called Shell that takes Linux kernel as casing.

Bash is in all Linux distributions almost, it is responsible for the implementation of the terminals commands as an example, and it is responsible for taking commands and passed them to the kernel and deal with them, which is very useful and depend on them most of the Linux applications.

When you execute ls command, for example, which lists all the files and folders in the current path in the terminal, the Bash automatically execute the program in /bin/ls, then the program is executed and the components are listed the current path.

Shell script is a set of serial commands that are written for a particular job, you can perform anything and modify anything you want the system via the shell script, the Bash reads the commands and instructions from a shell script and it is implemented to perform the task that it was designed for.

Shell script does not require simple commands such as ls and pwd, it can contain conditional sentences  like if and functions and variables and things very complicated, it differs from the use of these things, each according to the goal of shell scripts.


This is an example of a very simple shell script file which will ask for your name and your age, then print them in the screen, take these commands and save them in a file in a folder, for example test.sh  in the home directory :

#! / bin / bash 
echo "Enter your name:"; read name 
echo "Enter your age:"; read age 
echo "Hello $ name, you are $ age years old!" 

Then run the following command to make it executable :

chmod +x test.sh 

Now to execute shell scripts, do as this :

. / test.sh 

Enter your name, and enter your age, and will print the sentence .. Of course this is a very simple example to give you an idea about it, writing useful shell scripts needs a higher level than that, you can learn shell scripts from some online Guides.

     
Read more...

Monday, July 21, 2014

The solution to the problem of intermittent letters on Flash under Linux

0 comments

The solution to the problem of intermittent letters on Flash under Linux

You all know that the problem of intermittent letters on Flash player under Linux is one of the most troubling problems for users, especially for those who deal frequently with the websites where the flash is used, today we will explain to you how to solve this problem on the Linux environment and the Firefox browser.

What do now is to install a special version of Flash of Windows on Ubuntu and the latest version via the package provided by the site Webupd8 to this matter, on Ubuntu and derivatives of Ubuntu by these commands :

sudo add-apt-repository ppa: nilarimogard/webupd8 
sudo apt-get update 
sudo apt-get install freshplayerplugin 

For other distributions, download this file libfreshwrapper.so from this link for 32-bit distributions, and here's for 64-bit, and put it in the folder /usr/lib/mozilla/plugins/ .

Now if we opened Firefox and went to any website that uses flash, the following problem will appear to us :

Failled to load

We need to an extension named Pepper Flash to complete the solution, we can get it by simply downloading the Google Chrome browser from this link and installing it, then re-open any website that has Flash from Firefox browser, and Enjoy :)

     
Read more...

Elementary OS change the name of the next version of Isis to Freya

0 comments

Elementary OS change the name of the next version of Isis to Freya

Developers of elementary OS distro Announced changing the name of the next version from Isis to Freya, the reason why the developers did this change is to not be similar to the name of the "Islamic state in Syria and Iraq" (Daash), which is summed up in English as well as Isis into thinking people that there is a relationship between the two.
Elementary clearly unrelated to the group of armed known as Isis, we do not believe that people are confused because of similarity of names, but we wanted to clarify this ambiguity occurring for not getting confusion to people in the coming days, Freya beautiful name expresses the love, therefore we have chosen .. says Developers on Google Plus.
This precedent of its kind in the fact that the Linux distribution changed its name to not only similar to the armed organization in the Middle East, politics has became perhaps the intervention in every area, even in the field of free software.

     
Read more...

Sunday, July 20, 2014

Release of Linux Mint 17 with KDE interface

0 comments

Release of Linux Mint 17 with KDE interface

Developers announced Linux Mint distro announced the launch of version 17 named Qiana with KDE interface, the new version comes with KDE 4.13 In addition to the improvements in the application of the Director of updates and software sources and the welcome screen, director of access MDM also got some updates, to see all the new features, click here.

To download the Linux Mint 17 KDE 32-bit version Click here, and Click here for 64-bit.

     
Read more...

The release of the final version of the RED HAT LINUX 7

0 comments

The release of the final version of the RED HAT LINUX 7

Redhat Announced  - the largest company in the world of Linux servers and free software in general - the launch of the final version of Redhat Linux 7, the new version of Red Hat is based on Fedora 19, and it comes by default with file system XFS, which allows the establishment of hard drives up to 500 terabytes up maximum.

RedHat distribution is considered very suitable for servers, which are used frequently in large data centers (Data Centers), as they occupy more than 90% of the 500 most powerful computer in 2013, and occupies a sizeable share in the server market.

To download the demo version of RedHat 7, or buy a version officially, click here.

     
Read more...