Ubuntu 常用工具

apt-get update

apt-get install wireshark

apt-get install golang-go


apt-get install vim

apt-get install htop iftop

apt-get install ghex kolourpaint

apt-get install build-essential

0 change apt soure to aliyun mirrors
1 apt-get install vim
2 apt-get install htop iftop
3 apt-get install ghex kolourpaint
4 apt-get install build-essential
5 wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/sublimehq-archive.gpg > /dev/null
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
apt-get update
apt-get install sublime-text

6 apt-get install vlc ffmpeg mediainfo
7 apt-get install net-tools
8 apt install fcitx
cp /usr/share/applications/fcitx.desktop /etc/xdg/autostart/
apt purge ibus
dpkg -i sogoupinyin_4.2.1.145_amd64.deb
apt-get install libqt5qml5 libqt5quick5 libqt5quickwidgets5 qml-module-qtquick2 libgsettings-qt1 fcitx-config-gtk 

9 apt-get install openssh-server
10  apt install libncurses5 for vivado
11  apt-get install git gitk 
12 
# or run:
# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA300B7755AFCFAE
wget -qO - https://typoraio.cn/linux/public-key.asc | sudo tee /etc/apt/trusted.gpg.d/typora.asc
# add Typora's repository
sudo add-apt-repository 'deb https://typoraio.cn/linux ./'
sudo apt-get update
# install typora
sudo apt-get install typora

13  apt-get install acpidump
14  apt-get install vim-gtk
15  for fun

apt-get install aview imagemagick
apt install cmatrix
apt install cowsay
apt install sl
apt install pi
apt install fortunes-zh
apt-get install fortune-mod
apt-get install libaa-bin
apt-get install toilet
apt-get install figlet


16 for qt Failed to find "GL/gl.h" in "/usr/include/libdrm"
apt-get install mesa-common-dev

17 apt-get install cmake

18 for verilog
apt-get install ctags

19 for sdl2 
apt-get install libsdl2-2.0.0
apt-get install libsdl2-dev
apt-get install libsdl2-image-dev
apt-get install libsdl2-ttf-dev
apt-get install libsdl2-gfx-dev

sudo apt-get install libsdl1.2-dev

sudo apt-get install libsdl-image1.2-dev

sudo apt-get install libsdl-mixer1.2-dev

sudo apt-get install libsdl-ttf2.0-dev

sudo apt-get install libsdl-gfx1.2-dev


20 for ffmpeg -dev

apt-get install libavformat-dev  libswscale-dev libavcodec-dev libavutil-dev libswresample-dev libavdevice-dev libavfilter-dev 


21 apt-get install unrar

22 apt-get install hexedit

23 apt-get install valgrind

24 apt-get install gawk

25 add-apt-repository ppa:wireshark-dev/stable
   apt-get install wireshark
   

26 apt-get install rdesktop

27 apt-get install exfat-utils 

28 apt-get install rar unrar

29 apt-get install tbb-examples 
   apt-get install libtbb-dev 

g++ -std=c++11  main.cpp  -lpthread -ltbb

tar xvf jthread-1.3.3.tar.gz 
tar xvf jrtplib-3.11.1.tar.bz2 

30 apt-get install libcurl4-openssl-dev curl


31 apt-get install apr
   apt-get install apr-config
   apt-get install libapr1-dev 
   apt-get install libaprutil1-dev 

32 apt-get install libfaac-dev  libfaac mplayer  libssh-dev 

33 apt-get install tigervnc-viewer

34 apt-get install nfs-common

35 apt-get install libdrm-dev

//Failed to find "GL/gl.h" in /usr/include/libdrm

apt-get install mesa-common-dev

36 

apt-get install libjpeg62   libjpeg-turbo-progs ksh tcsh  lsb-core

cd  /lib/x86_64-linux-gnu
ls
mv /tmp/libpng12.so.0.54.0
mv /tmp/libpng12.so.0.54.0   .
ls
ln -s libpng12.so.0.54.0  libpng12.so.0

apt-get install operand
apt-get install sed awk dc gnuplot ps2pdf GPP bzip2
apt-get install sed gawk dc gnuplot ps2pdf GPP bzip2
apt-get install sed awk dc gnuplot
apt-get install sed gawk dc gnuplot ps2pdf
apt-get install sed gawk dc gnuplot
apt-get install gnuplot
apt-get install bzip2
apt-get install pp
apt-get install gpp
apt-get install vpd

for vcs simulation

apt-get install sed gawk dc gnuplot 

37 apt-get build-dep ffmpeg
   apt-get source ffmpeg

38 dbgsys

refer http://www.manongjc.com/detail/56-nmgdcrvkkflpfqe.html

apt-get install pkg-config-dbgsym


vim /etc/apt/sources.list
apt-get update

Hit:1 http://mirrors.aliyun.com/ubuntu focal InRelease
Get:2 http://mirrors.aliyun.com/ubuntu focal-updates InRelease [114 kB]                                                                
Get:3 https://typoraio.cn/linux ./ InRelease [793 B]                                                                                   
Get:4 http://mirrors.aliyun.com/ubuntu focal-backports InRelease [108 kB]                                                              
Get:5 http://mirrors.aliyun.com/ubuntu focal-updates/main amd64 Packages [2,536 kB]                                                    
Hit:6 https://dl.google.com/linux/chrome/deb stable InRelease                                                                          
Hit:7 http://ppa.launchpad.net/wireshark-dev/stable/ubuntu focal InRelease                                                             
Hit:8 http://archive.canonical.com/ubuntu focal InRelease                                                                              
Get:9 http://mirrors.aliyun.com/ubuntu focal-updates/main i386 Packages [819 kB]                                                       
Get:10 http://mirrors.aliyun.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [275 kB]                                              
Get:11 http://mirrors.aliyun.com/ubuntu focal-updates/universe amd64 Packages [1,062 kB]                                               
Get:12 http://mirrors.aliyun.com/ubuntu focal-updates/universe i386 Packages [728 kB]                                                  
Get:13 http://mirrors.aliyun.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [409 kB]                                          
Get:14 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]                                                             
Get:15 http://mirrors.aliyun.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [944 B]                                         
Get:16 http://mirrors.aliyun.com/ubuntu focal-backports/main amd64 DEP-11 Metadata [7,972 B]                                           
Get:17 http://mirrors.aliyun.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [30.5 kB]                                       
Get:18 http://ddebs.ubuntu.com focal InRelease [41.3 kB]                                                                               
Hit:19 http://packages.microsoft.com/repos/code stable InRelease                                                                       
Hit:20 https://download.sublimetext.com apt/stable/ InRelease                                                                          
Err:18 http://ddebs.ubuntu.com focal InRelease                                                                                         
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C8CAB6595FDFF622
Get:21 http://ddebs.ubuntu.com focal-updates InRelease [41.3 kB]                                               
Ign:22 https://www.scootersoftware.com bcompare4 InRelease                      
Get:23 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [59.9 kB]
Hit:24 https://www.scootersoftware.com bcompare4 Release                                            
Err:21 http://ddebs.ubuntu.com focal-updates InRelease            
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C8CAB6595FDFF622
Get:26 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [95.5 kB]
Get:27 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 DEP-11 Metadata [940 B]
Reading package lists... Done      
W: Skipping acquire of configured file 'Sources' as repository 'https://typoraio.cn/linux ./ InRelease' does not seem to provide it (sources.list entry misspelt?)
W: GPG error: http://ddebs.ubuntu.com focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C8CAB6595FDFF622
E: The repository 'http://ddebs.ubuntu.com focal InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://ddebs.ubuntu.com focal-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C8CAB6595FDFF622
E: The repository 'http://ddebs.ubuntu.com focal-updates InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C8CAB6595FDFF622 
Executing: /tmp/apt-key-gpghome.REI5sluKkr/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys C8CAB6595FDFF622
gpg: key C8CAB6595FDFF622: public key "Ubuntu Debug Symbol Archive Automatic Signing Key (2016) <ubuntu-archive@lists.ubuntu.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1


apt-get update

Hit:1 http://mirrors.aliyun.com/ubuntu focal InRelease
Hit:2 http://mirrors.aliyun.com/ubuntu focal-updates InRelease                                                                         
Get:3 https://typoraio.cn/linux ./ InRelease [793 B]                                                                                   
Hit:4 http://mirrors.aliyun.com/ubuntu focal-backports InRelease                                                                       
Hit:5 http://packages.microsoft.com/repos/code stable InRelease                                                                        
Hit:6 https://dl.google.com/linux/chrome/deb stable InRelease                                                                          
Hit:7 http://archive.canonical.com/ubuntu focal InRelease                                                                              
Hit:8 http://security.ubuntu.com/ubuntu focal-security InRelease                                                                       
Hit:9 http://ppa.launchpad.net/wireshark-dev/stable/ubuntu focal InRelease                                                             
Ign:10 https://www.scootersoftware.com bcompare4 InRelease                                                                             
Hit:11 https://www.scootersoftware.com bcompare4 Release                                              
Hit:13 https://download.sublimetext.com apt/stable/ InRelease                   
Get:14 http://ddebs.ubuntu.com focal InRelease [41.3 kB]
Get:15 http://ddebs.ubuntu.com focal-updates InRelease [41.3 kB]
Get:16 http://ddebs.ubuntu.com focal/main i386 Packages [294 kB]
Get:17 http://ddebs.ubuntu.com focal/main amd64 Packages [514 kB]
Get:18 http://ddebs.ubuntu.com focal-updates/main amd64 Packages [589 kB]                                                              
Get:19 http://ddebs.ubuntu.com focal-updates/main i386 Packages [157 kB]                                                               
Fetched 1,554 kB in 11s (146 kB/s)                                                                                                     
Reading package lists... Done
W: Skipping acquire of configured file 'Sources' as repository 'https://typoraio.cn/linux ./ InRelease' does not seem to provide it (sources.list entry misspelt?)


apt-get install pkg-config-dbgsym
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  amd64-microcode ibus-data intel-microcode iucode-tool linux-headers-generic-hwe-20.04 python3-ibus-1.0 thermald
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  pkg-config-dbgsym
0 upgraded, 1 newly installed, 0 to remove and 25 not upgraded.
Need to get 53.9 kB of archives.
After this operation, 73.7 kB of additional disk space will be used.
Get:1 http://ddebs.ubuntu.com focal/main amd64 pkg-config-dbgsym amd64 0.29.1-0ubuntu4 [53.9 kB]
Fetched 53.9 kB in 3s (17.2 kB/s)             
Selecting previously unselected package pkg-config-dbgsym.
(Reading database ... 274855 files and directories currently installed.)
Preparing to unpack .../pkg-config-dbgsym_0.29.1-0ubuntu4_amd64.ddeb ...
Unpacking pkg-config-dbgsym (0.29.1-0ubuntu4) ...
Setting up pkg-config-dbgsym (0.29.1-0ubuntu4) ...




deb http://ddebs.ubuntu.com YOUR_RELEASE main restricted universe multiverse
deb http://ddebs.ubuntu.com YOUR_RELEASE-updates main restricted universe multiverse
deb http://ddebs.ubuntu.com YOUR_RELEASE-security main restricted universe multiverse
deb http://ddebs.ubuntu.com YOUR_RELEASE-proposed main restricted universe multiverse

echo "deb http://ddebs.ubuntu.com $(lsb_release -cs) main restricted universe multiverse
deb http://ddebs.ubuntu.com $(lsb_release -cs)-updates main restricted universe multiverse
deb http://ddebs.ubuntu.com $(lsb_release -cs)-security main restricted universe multiverse
deb http://ddebs.ubuntu.com $(lsb_release -cs)-proposed main restricted universe multiverse
" | sudo tee -a /etc/apt/sources.list.d/ddebs.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 428D7C01
sudo apt-get update

39 apt-get install neovim

40 apt-get install gpick

41 apt-get install gimp


42 apt-get install ttf-mscorefonts-installer

43
apt-get install ethtool
ethtool -s eth0 speed 1000 duplex full autoneg off

ifconfig

ethtool -s enp10s0 speed 1000 duplex full autoneg off
ifconfig enp10s0 up

ethtool -s eth0 speed 1000 duplex full autoneg on

ethtool -s enp10s0 speed 1000 duplex full autoneg on

apt-get install dbus
apt-get install libdbus-1-dev


44
ffmpeg
nginx
ghex 
x264
x265
mediainfo
libsdl2-ttf
libsdl2-image
libsdl2
sudo snap install notepad-plus-plus

sudo snap install --classic code

sudo snap install pycharm-community --classic

sudo snap install eclipse --classic

  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值