Ubuntu can also install various software as easily as windows

Main machine environment:ubuntu 20.04.5 LTS

1.ubuntu Several common methods of installing software

1. Useapt tool installation
For example, if you want to use ifconfig Viewip function needs to be installednet-tools< a i=9>, you can use the following code:

 # 打开 ubuntu 终端
 Ctrl + Alt + t
 
 # 安装对应的软件包
 apt-get install net-tools
 
 # 或者(部分软件安装需要超级权限 sudo)
 sudo apt-get install net-tools

2. Use dpkg to install the deb installation package

# 网上寻找并手动下载对应软件的deb安装包(以 .deb 为后缀的安装包)

# 进入 xx.deb 软件包所在的目录,打开终端,终端输入如下命令
sudo dpkg -i xx.deb

3. Download the program source code, compile and install it
This method is not commonly used. Below is the tree command to install it. for demonstration

# 下载安装包
wget ftp://mama.indstate.edu/linux/tree/tree-1.6.0.tgz

# 解压缩
tar xzvf tree-1.6.0.tgz

# 进入目录
cd tree-1.6.0

# 编译
make 

# 安装
sudo make install

4. Ubuntu’s own software center software (not commonly used, often stuck when opening, extremely inconvenient)

2. The shortcomings of the above installation methods (which cause the editor a headache)

  • Although apt-get is easy to use, many commonly used software cannot be installed directly with this command, such asclash-for-windows a> etc.
  • dpkg and source code compilation and installation These methods can solve the installation problems of most software, but It is not simple enough, the process is very cumbersome, and you often encounter environment dependency problems. You have to look for variousbugs online during and after installation. After searching, the solution may not be universal, which is a headache. The editor went through a journey from full confidence to despair during the process of installing Sogou input method.

3. Spark Store (Ubuntu system suitable for graphical interface, universal, simple and reliable)

Having said so much, the articleKey points Spark Store, Spark Store, Spark Store (Important (Tell it three times!!!) It’s finally here! ! !

  • andubuntu built-in software centersoftware functions Same (windows as well), you can manually click to install the software, but the installation is simple and quick
  • Basically all the software resources you want are available, including (WeChat< a i=4> and other chat software, vscode and other programming software, etc.)
  • SoftwareInstallation, upgrade, uninstallationManual clickOne step to complete

Bottom display Spark Store 的安装步骤.

  1. Download Ubuntu 20.04 dependency packages from the official website https://www.spark-app.store/download

Insert image description here

  1. After unzipping the dependency package, execute the script file in the corresponding directory "Double-click me to open one-click installation.sh in the terminal"
./双击我在终端中打开一键安装.sh

Insert image description here

  1. Download the software installation package
    Insert image description here

  2. Download the corresponding version
    Insert image description here

  3. Install the deb file on the terminal in the corresponding directory

sudo apt install ./xxxx.deb
// Ubuntu 20.04 请忽略
// 终端安装 Spark Store(适用于Ubuntu 22.04 版本)
sudo apt-get install spark-store
sudo apt --fix-broken install

The following is a picture of the Spark Store home page after installation and opening.

Spark Store display diagram

Guess you like

Origin blog.csdn.net/Double_Horse/article/details/131023272