Ubuntu some basic software installation methods

Source: Internet
Author: User

Ubuntu some basic software installation methods

First of all, there are several ways to install Ubuntu software:
1. How to install the Deb package
Deb is the Debian Linux package management method, Ubuntu is a Linux distribution of the Debian department, the
This software installation is supported by default, and when downloaded to a Deb-formatted software, enter this in the terminal
command to install:
sudo dpkg-i *.deb
2. How to compile and install
(Tip: Before compiling, you need to establish a compilation environment and use the following command to establish a basic compilation environment:
sudo apt-get install build-essential)
In the world of Linux, there are many software that only provide you with the source code, you need to compile and install yourself, general Open source
Software uses tar.gz compression files for publishing, and of course there are other forms. Get the source code of the compressed document
Unzip it into the/tmp directory, enter the/tmp/software directory, and then execute the following three commands:
1./configure
2 Make
3 sudo make install
In the first step./configure may be prompted to say that some software can not be found, such as the prompt "Libgnome" This Open
The contract can not find, then put libgnome this keyword copy, and then open the new software manager, in the
Search Libgnome This keyword, you will find Libgnome related items, the front has an Ubuntu symbol
Libgnome Package (note: also need to install the dev package, but can not install the DOC package) all installed, through this side
FA./configure the missing development package in the process is all installed on the OK, the first step can pass smoothly, second, three
The basic problem of the step is small.
The above is the general beginner Ubuntu Friends must master the basic method of compiling and installing!
3. Apt-get Installation Method
Ubuntu world has a lot of software sources, in the system installation chapter has introduced how to add source, Apt-get basic software
The installation commands are:
sudo apt-get install software name
4. New Rieter Package Management
Open: System – System Management – new software package management, this tool is actually like apt, can search, under
Download, install Ubuntu source software, the specific installation method is very simple, look at the interface should understand, not detailed introduction
The
5. How binary packages are installed
There are a lot of non-open source business software will use this way to publish Linux software, such as Google Earth, get two
After the software is made, put it in the/tmp directory, enter the installation directory under the terminal, under the installation directory
Execute:./software name then follow the steps to install the software
6. How to install RPM packages
RPM packages are the most common form of package management outside of the Deb package, but Ubuntu can also use RPM's software resources
^_^, first we need to install a RPM-to-Deb software
sudo apt-get install Alien
You can then convert the software in the RPM format to the Deb format:
Alien-d *.rpm
Then you can install the software by using the Deb installation method.
You can also install the RPM package directly without the need for conversion:
Alien-i *.rpm
More alien usage methods you can use the-H parameter to view the appropriate documentation
7. Other installation methods
Other installation methods generally also have a script installation, such software, you will find in the Software installation directory similar suffix name
files, such as. Sh. py. Run and so on, and some don't even have a suffix, just one
Install file, for this kind of software, you can try the following several ways of installing
The simplest is to enter directly in the SOFTWARE directory:./software Name * (Note that there is a * number, which is generally available to match the
with suffix name)
Or: SH software name. sh
Or: Python software name. py
8. Examples of package methods for installing various formats:
1) Solution Nianqing.tar:tar XF Nianqing.tar
2) Solution Nianqing.tar.gz:tar ZXF nianqing.tar.gz
3) Solution Nianqing.tar.z:tar ZXF Nianqing.tar.z
4) Solution Nianqing.tgz:tar ZXF nianqing.tgz
5) Solution Nianqing.bz2:bunzip2 nianqing.bz2
6) Solution Nianqing.tar.bz2:tar JXF nianqing.tar.bz2
Bin: Give permission first and then perform the installation directly, such as *.bin:
sudo chmod 755 *.bin--To change the bin file to an executable file, or sudo chmod +x
A.bin
sudo *.bin ——— execute the bin file directly and then follow the instructions
Learning Computer Typing Practice software ^_^
sudo apt-get install Tuxtype Ktouch

Ubuntu some basic software installation methods

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.