Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to install Software in Ubuntu system

Shulou Source: shulou.com Published: 2022-06-01 09:03:23 09月30日 Update

This article mainly explains "how to install software in Ubuntu system". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to install software in Ubuntu system.

There are three general installers:

Installation files in .deb and .rpm

.boudle this is a binary installation file.

.tar.gz files are compressed packages and, like .rar and .zip packages, need to be unzipped first to install such files

1.apt-get installation

General installation:

The code is as follows:

Sudo apt-get install xxx

Repair the installation:

The code is as follows:

Sudo apt-get-f install xxx

Reinstall:

The code is as follows:

Sudo apt-get-r reinstall xxx

2.dpkg installation

General installation:

The code is as follows:

Sudo dpkg-I package_name.deb

Source code installation (.tar, tar.gz,tar.bz2.tar.Z)

This kind of class file is generally: source code or script. If it is source code, there will be instructions for the readme class, telling you which library files you need to rely on and how to compile the source code. Just follow it. Scripts are mostly. Generally, files with names such as install or setup will first extract the source code package and then complete it through the tar command (you can specify the directory at the top with a space / directory name)

* a. Decompression

The code is as follows:

Xx.tar.gz: tar zxf xx.tar.gz

* b. Decompression

The code is as follows:

Xx.tar.Z: tar zxf xx.tar.Z

* c. Decompression

The code is as follows:

Xx.tgz: tar zxf xx.tgz

* d. Decompression

The code is as follows:

Xx.bz2: bunzip2 xx.bz2

* e. Decompression

The code is as follows:

Xx.tar: tar xf xx.tar

Then enter the extracted directory, then cd into the extracted directory, type ls to see if there are any install files. Generally executed sequentially

The code is as follows:

. / configure

Make

Sudo make install

The installation can be completed.

At this point, I believe you have a deeper understanding of "how to install software in the Ubuntu system". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Tags: Code file source code directory system software general content way script learning practical deeper binary interest name name command practicality actual Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Apple OPPO Reno Huawei MySQL