Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Software in Ubuntu system

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report