New friends in the Linux world, maybe you have downloaded the Linux installation ISO and installed your Linux, then you may want to install some software for Linux. In the beginning, you may use the software center of the graphic interface to install it. Sometimes you also need to use the command line to install it, or even compile a binary program by yourself. & mdash; it's amazing. Today we will talk about how to install software packages on Linux. This article will
New friends in the Linux world, maybe you have downloaded the Linux installation ISO and installed your Linux, then you may want to install some software for Linux. In the beginning, you may use the software center of the graphic interface to install it. Sometimes you also need to use the command line to install it, or even compile a binary program by yourself-what a magic thing.
Today we will talk about how to install software packages on Linux.
This article will beginGUI Software Center,Package Manager,Online repository Installation,Local Installation,Source code InstallationI will explain the precautions for installing software packages one by one.
Environment
- Ubuntu 15.04 64-bit
- Fedora 22 64-bit
Installation target
- Wget is a simple and free software used to download files from the network. We will also use wget to download some files below.
Related Concepts
- Source: We can install the program fromRemote RepositoryOrLocal RepositoryObtain, thisWarehouseIs the source of our program, so it can be calledSource.
- Package Manager: As the name impliesPackage ManagerIs used to manage software packages. With this tool, we can easily install and uninstall programs from the repository. Different releases have different package managers.
apt-get
The use of Fedora 22dnf
.
- Source code: The original code of the program, which has not been compiled, can also be generated by compiling the source code.
Gui Software Center Ubuntu Software Center
When we are in a Graphical Interface (GUI: Graphical User Interface), Ubuntu provides us with a Graphical Installation tool calledUbuntu Software CenterThrough this software center, we can easily install software packages by clicking a few buttons like Windows. To open the Software Center, there are some categories on the left, and the following are some recommended software packages.
Ubunutu Software Center
Click "installed" to view the software packages installed on the local machine. You can manage them here, select Firefox, and click "Uninstall". Then, you will be prompted to enter the password, if the input is complete and correct, the program you selected will be uninstalled.
Installed
Search in the search boxwget
You only need to click Install and enter the correct password.
Install new programs
Fedora Software Center
Click the open icon to open the Fedora Software Center.
Fedora Software Center
On the displayed page, the category is at the bottom.
Software Center
Click mine clearance, as shown below. ClickInstallWait.
Install new programs
Now goInstalled, We can see the installed mine clearance, clickRemoveYou can delete it.
Remove a program
If you encounter this problem, you only need to enter your password.
Authentication
For more details, refer to the highlights on the next page.: Http://www.linuxidc.com/Linux/2016-02/128160p2.htm