Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚩🇹🇼🇨🇳🇲🇾🔆🏹🦔🌟🀄科红旗 Zhongke Hongqi #1

Open
englianhu opened this issue Apr 26, 2023 · 10 comments

Comments

@englianhu
Copy link
Owner

englianhu commented Apr 26, 2023

操作系统,红旗中科;不忘初心,砥砺前行。

引用:🇹🇼🇨🇳🇻🇳🇲🇾🐼🚩红旗飘飘 —— 孙玉芳研究员谈国产操作系统

##添加网址到🇹🇼🇨🇳🇻🇳🇲🇾🐼🚩apt仓库并更新仓库
echo 'deb http://ftp.cn.debian.org/debian bullseye main' | sudo tee -a /etc/apt/sources.list.d/bullseye.list
sudo apt update
## sudo chmod 777 -R /etc/resolv.conf
## 如无法上网,尝试修改/etc/resolv.conf中的域名服务器
# sudo sh -c "echo '##赢家黄氏江夏堂联富和家眷亲属(包括外祖父道家书法家李福李氏陇西堂和外祖母郑邓)、性格开朗的校花吴紫云(和性格开朗的明星蔡卓宜)和家眷亲属、校花苏丽欣和家眷亲属、林燕芳和家眷亲属、好学的漂亮妞儿皇朝酒店唐宫郭子瑜(和明星肖黎希)和家眷亲属、莘莘学子黄埔军校兵马俑世袭制学术份子高频量化对冲中科红旗辛亥革命,点缀全球。 \nnameserver 114.114.114.114' > /etc/resolv.conf"

sudo chmod 777 -R /etc/resolv.conf
## 如无法上网,尝试修改/etc/resolv.conf中的域名服务器
sudo sh -c "echo '##赢家黄氏江夏堂、道法李氏陇西堂、杏林林氏西河堂、商家苏氏阜阳堂、道家石氏平原堂、陈氏钟氏颍川堂、吴氏至德堂、王氏开闽堂、郑氏荥阳堂,黄埔军校兵马俑秦人牧马世袭制学术辛亥革命歼灭土司乩童张佳坤刘瑾貹倆,点缀全球。 \nnameserver 114.114.114.114' >  /etc/resolv.conf"

## 欲忽略输入密码,尝试修改%sudo用户组的权限设置
# sudo sed -i 's/^%sudo *\(.*\)* *ALL$/%sudo   ALL=(ALL:ALL) NOPASSWD:ALL/g' /etc/sudoers
# sudo sed -i 's/^%sudo *\(.*\)* *ALL$/%sudo   ALL=(ALL:ALL) NOPASSWD:ALL/g' /etc/sudoers.d/10-installer 

sudo apt update && sudo apt upgrade -y

echo 'deb http://cloud.r-project.org/bin/linux/debian bullseye-cran40/' | sudo tee -a /etc/apt/sources.list.d/bullseye.list
# echo 'deb http://cloud.r-project.org/bin/linux/debian buster-cran40/' | sudo tee -a /etc/apt/sources.list.d/debian-buster.list
sudo apt update && sudo apt upgrade -y
## 如果需要公钥验证R语言软件,则添加该公钥。
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B8F25A8A73EACF41

这个星期以来系统频频受到入侵,一旦添加🍥达比安/🍥德比安仓库后更新(如上),整个系统就会像刚开始安装时一样被覆盖并且只显示敌国(大象共和国🌎️🐘赤印度人白宫回教堂爱国狂热份子瓦盛顿巫贼巫婆洋番回教徒施展ABC的Bahasa巫术伐木大屠杀)美国国旗🇺🇸,一天之内重新安装五六次有余~

1 先安装个gdebi安装器

下载后安装。

sudo apt install gdebi* -y

## 建议安装:
sudo apt install -y libgtk2-perl lintian liblxqt-l10n lxqt-sudo-l10n lxqt-qtplugin gettext-doc autopoint libasprintf-dev libgettextpo-dev libfont-freetype-perl libgtk2-perl-doc libhtml-template-perl binutils-multiarch libtext-template-perl lxqt*
## 推荐安装:
sudo apt install -y libcgi-fast-perl libasync-mergepoint-perl libsereal-perl libtest-fatal-perl libtest-refcount-perl libdigest-bubblebabble-perl libnet-dns-sec-perl libnet-libidn-perl libunicode-utf8-perl libxml-sax-expat-perl libperlio-gzip-perl libfm-qt6 lxqt-session lxqt-config libxml-sax-expatxs-perl libxml-sax-expatxs-perl

## wget http://ftp.cn.debian.org/debian/pool/main/m/micro/micro_2.0.11-3+b1_amd64.deb
## https://www.addictivetips.com/ubuntu-linux-tips/how-to-install-a-deb-file-on-linux
## sudo gdebi micro_2.0.8-1+b6_amd64.deb
## sudo rm micro_2.0.8-1+b6_amd64.deb
## sudo gdebi ./*.deb
## sudo rm -rf *.deb
## https://github.com/scibrokes/mytools/issues/4#issuecomment-1423941958
## curl -l http://ftp.cn.debian.org/debian/pool/main/m/micro/ | awk 'gsub("[ ]*", "", $2)' | awk '/amd64.deb/' | sed 's/<a\ href="\(.*\)">\(.*\)<\/a> \(.*\)/\1/' | awk 'gsub("%2B", "+", $0)' | awk '{print "wget http://ftp.cn.debian.org/debian/pool/main/m/micro/"$0}'
##  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
##                                  Dload  Upload   Total   Spent    Left  Speed
## 100  5387    0  5387    0     0   7173      0 --:--:-- --:--:-- --:--:--  7163
## wget http://ftp.cn.debian.org/debian/pool/main/m/micro/micro_2.0.11-2+b1_amd64.deb
## wget http://ftp.cn.debian.org/debian/pool/main/m/micro/micro_2.0.11-3+b1_amd64.deb
## wget http://ftp.cn.debian.org/debian/pool/main/m/micro/micro_2.0.6-2~bpo10+1_amd64.deb
## wget http://ftp.cn.debian.org/debian/pool/main/m/micro/micro_2.0.8-1+b6_amd64.deb
## 以上链接列出所有`amd64.deb`版本。
## 通过 curl -l http://ftp.cn.debian.org/debian/pool/main/m/micro/ 列出许多不同版本,然后查询最新版本再修改一下以下的版本
sudo apt install -y ./*.deb && sudo rm -rf *.deb

## 推荐安装:
sudo apt install -y *x*clip*
## 建议安装:
sudo apt install -y libosgi-annotation-java-doc devhelp
## 推荐安装:
sudo apt install -y libxfce4util-bin

添加仓库后更新下载安装。

echo 'deb http://ftp.cn.debian.org/debian bullseye main' | sudo tee /etc/apt/sources.list.d/bullseye.list
sudo apt update
sudo apt install micro -y
## wget http://ftp.cn.debian.org/debian/pool/main/m/micro/micro_2.0.11-3+b1_amd64.deb
## https://www.addictivetips.com/ubuntu-linux-tips/how-to-install-a-deb-file-on-linux
## sudo gdebi micro_2.0.8-1+b6_amd64.deb
## sudo rm micro_2.0.8-1+b6_amd64.deb
## sudo gdebi ./*.deb
## sudo rm -rf *.deb
## https://github.com/scibrokes/mytools/issues/4#issuecomment-1423941958
curl -l http://ftp.cn.debian.org/debian/pool/main/m/micro/ | awk 'gsub("[ ]*", "", $2)' | awk '/amd64.deb/' | sed 's/<a\ href="\(.*\)">\(.*\)<\/a> \(.*\)/\1/' | awk 'gsub("%2B", "+", $0)' | awk '{print "wget http://ftp.cn.debian.org/debian/pool/main/m/micro/"$0}'
##  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
##                                  Dload  Upload   Total   Spent    Left  Speed
## 100  5387    0  5387    0     0   7173      0 --:--:-- --:--:-- --:--:--  7163
## wget http://ftp.cn.debian.org/debian/pool/main/m/micro/micro_2.0.11-2+b1_amd64.deb
## wget http://ftp.cn.debian.org/debian/pool/main/m/micro/micro_2.0.11-3+b1_amd64.deb
## wget http://ftp.cn.debian.org/debian/pool/main/m/micro/micro_2.0.6-2~bpo10+1_amd64.deb
## wget http://ftp.cn.debian.org/debian/pool/main/m/micro/micro_2.0.8-1+b6_amd64.deb
## 以上链接列出所有`amd64.deb`版本。
## 通过 curl -l http://ftp.cn.debian.org/debian/pool/main/m/micro/ 列出许多不同版本,然后查询最新版本再修改一下以下的版本

sudo apt install -y ./*.deb && sudo rm -rf *.deb

参考文献:How to install a DEB file on Linux

## 安装🇹🇼🇨🇳🇻🇳🇲🇾🐼🚩德比安/达比安🍥安装工具程序包
sudo apt install *gdebi* -y

## https://github.com/englianhu/zhongkehongqi/issues/4
## 安装礼逆袭流量监控工具与网速测试工具
sudo apt install -y iftop netstat* tcpdump iptraf speedtest-cli time

#礼逆袭操作系统调试程序包
sudo apt install -y ctags cxref cflow prof gprof adb xxgdb KDbg ddd

## 安装🇹🇼🇨🇳🇻🇳🇲🇾🐼🚩德比安/达比安🍥安装工具程序包
sudo apt install sudo l*sudo s*sudo -y
sudo apt install -y *aptitude*
sudo apt install *micro*code* -y

## 建议安装:
sudo apt install -y apt-xapian-index debtags needrestart needrestart-session hobbit-client libcwidget-dev lib*scalar* libbareword-filehandles-perl libindirect-perl libmultidimensional-perl libdevel-lexalias-perl libdevel-stacktrace-perl #apt-listbugs bsd-mailx *mailx* xymon-client
## 推荐安装:
sudo apt install -y perl-doc libclass-xsaccessor-perl libpackage-stash-xs-perl libref-util-perl libtype-tiny-xs-perl libgtk-3-doc libglib2.0-doc libpango1.0-doc  libatk1.0-doc
## 建议安装:
sudo apt install -y reportbug python-xdg tagcoll exim4-doc-html exim4-doc-info eximon4 spf-tools-perl swaks libcwidget-doc ncurses-doc libsigc++-2.0-doc wx3.0-doc iucode-tool python-apt-dbg python-apt-doc hobbit* #xapian-doc xymon*
## 推荐安装:
sudo apt install -y ruby-httpclient s6 libintl-xs-perl

## 安装🇹🇼🇨🇳🇻🇳🇲🇾🐼🚩终端编译器
#echo 'deb http://ftp.cn.debian.org/debian bullseye main' | sudo tee /etc/apt/sources.list.d/bullseye.list
#sudo apt update
#sudo apt install micro -y
#sudo apt install micro* *micro* p*micro* -y
#https://blog.51cto.com/u_15244533/2845275
sudo apt install -y cmake cmake-qt-gui

## 安装🇹🇼🇨🇳🇻🇳🇲🇾🐼🚩图象处理相关应用
sudo apt -y install parallel *image*magick

## 安装java编程语言相关程序包
sudo apt install -y *jre* *jdk*

2 省略sudo权限输入密码

黄埔军校兵马俑/兵工厂🇹🇼🇨🇳🇻🇳🇲🇾🐼🚩红旗礼逆袭的操作系统设置比较特别,所以得在好几个文档中设置XXXX ALL (ALL) = NOPASSWD : ALL~

sudo micro /etc/sudoers
sudo micro /etc/sudoers.d/10-installer
sudo micro /etc/sudoers.d/update
## 欲忽略输入密码,尝试修改%sudo用户组的权限设置
sudo sed -i 's/^%sudo *\(.*\)* *ALL$/%sudo   ALL=(ALL:ALL) NOPASSWD:ALL/g' /etc/sudoers
sudo sed -i 's/^%sudo *\(.*\)* *ALL$/%sudo   ALL=(ALL:ALL) NOPASSWD:ALL/g' /etc/sudoers.d/10-installer 

3 网络暂无问题

IMG_20220814_090850

4 下载安装软件应用但不添加仓库

## 安装R与R文艺坊

倘若欲在默认黄埔军校兵马俑/兵工厂🇹🇼🇨🇳🇻🇳🇲🇾🐼🚩红旗操作系统安装所有R语言相关程序包sudo apt install r-base* -y 或者 sudo apt install r-base r-base-dev -y,系统无法像Kubuntu忽奔兔达比安/德比安兼容所有,只能安装所需要的程序包~

sudo apt-get install r-base r-base-core -y 
wget https://s3.amazonaws.com/rstudio-ide-build/desktop/bionic/amd64/rstudio-2022.07.0-548-amd64.deb
sudo gdebi rstudio-2022.07.0-548-amd64.deb
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Reading state information... Done
此软件包不可安装
Cannot install 'libclang-dev'

下载R语言4.2.1源代码程序包并安装,可参考:

## 事先安装R语言所需的程序包
sudo apt install -y gfortran
## 建议安装:
sudo apt install -y gfortran-multilib gfortran-doc gfortran-8-multilib gfortran-8-doc libgfortran5-dbg libcoarrays-dev doc-base l*compat* ghc-doc haskell-doc llvm-6.0 libtest-modern-perl libtest-roo-perl libmldbm-perl libnet-daemon-perl libsql-statement-perl fltk1.3-doc libcairo2-dev libjpeg-dev libpng-dev libxft-dev libxinerama-dev libghc-aeson-doc libghc-attoparsec-doc libghc-attoparsec-iso8601-doc libghc-dlist-doc libghc-exceptions-doc libghc-hashable-doc libghc-integer-logarithms-doc libghc-old-locale-doc libghc-old-time-doc libghc-primitive-doc libghc-random-doc libghc-regex-base-doc libghc-regex-posix-doc libghc-regex-tdfa-doc libghc-scientific-doc libghc-tagged-doc libghc-th-abstraction-doc libghc-unordered-containers-doc libghc-uuid-types-doc libghc-vector-doc gmp-doc libgmp10-doc libmpfr-dev gnutls-bin gnutls-doc libdbd-csv-perl liblog-dispatch-filerotate-perl librrds-perl libxml-dom-perl libnet*openssh*gateway*perl* uuid libdbd-mysql-perl libdbd-pg-perl librdf*rdfa*parser*perl* libredis-perl libroar-plugins-universal roaraudio* libmuroar0 *slpd* haskell-doc fonts-mathjax-extras fonts-stix libjs-mathjax-doc fonts-roboto *ghc*6* *hugs* haskell-mode cpphs stylish-haskell emacs-common-non-dfsg m17n-docs libcairo2-doc libdbi-test-perl freetype2-doc libice-doc libmoox-types-mooselike-numeric-perl libmoox-types-setobject-perl libmpfr-doc libsm-doc llvm-6.0-doc mailutils-mh mailutils-doc autoconf-archive gnu-standards autoconf-doc dh-make libtool-doc *gcj*jdk* m4-doc libmail-box-perl python-pygments-doc ttf-bitstream-vera libfile-fcntllock-perl spamassassin libemail-simple-perl libmime-tools-perl libtext-autoformat-perl mh-e *mail*crypt* swish++ picon-domains w3m-el razor pyzor libencode-detect-perl libgeo-ip-perl libnet-patricia-perl pyzor-doc antiword cmigemo dict dict-wn dictd libsixel-bin mpv w3m-img xsel *mule*ucs* wv *xl*html* *ppt*html* libmoe1.5 namazu2 vim-migemo dict-gcide dict-foldoc dict-jargon apache2 namazu2-index-tools skktools skkdic-cdb skkdic-extra perl-tk texlive-fonts-recommended-doc texlive-latex-base-doc icc-profiles libfile-which-perl libspreadsheet-parseexcel-perl texlive-latex-extra-doc texlive-latex-recommended-doc texlive-pstricks dot2tex prerex *ruby*tcltk* libtcltk*ruby* texlive-pictures-doc vprerex texlive elinks links lynx libclipboard-perl apache2-doc apache2-suexec-pristine apache2-suexec-custom elinks-doc tre-agrep libnkf-perl libtext-kakasi-perl kakasi chasen groff mhonarc libmp3-info-perl rpm python-pyparsing-doc gauche chasen mecab kakasi texlive-pstricks-doc xemacs21-bin semi l*wl* *wl*beta* rpm-i18n *r*5*rs*doc* gauche-doc gauche-zlib gauche-gdbm liblapack-doc gcc-arm-none-eabi libsyntax-perl libxaw-doc camlp4 ocaml-doc tuareg-mode ocaml-mode alien elfutils *rpm*lint* *rpm*2*html* *mail*crypt* *easy*pg* *star*tt*ls* x-face-el *mule*ucs* bbdb im *bit*map*mule* maildir-utils notmuch mu-cite mhc xemacs21-supportel libencode-hanextra-perl libpod2-base-perl python3-pyxattr-dbg python-pyxattr-doc chktex dvidvi dvipng fragmaster lacheck latexdiff latexmk purifyeps xindy psutils nvidia-driver php-pear nvidia-cuda-mps nvidia-kernel-dkms nvidia-kernel-source *php*mcrypt* *php*gmp* *php*compat* libdevel-argnames-perl libterm-readline-gnu-perl libterm-readline-perl-perl libghc-distributive-doc
#osspd #oss-compat #libjboss-logging-java-doc
## 推荐安装:
sudo apt install -y libclass-c3-xs-perl fluid ghc-doc libghc-aeson-doc libghc-attoparsec-doc libghc-exceptions-doc libghc-hashable-doc libghc-scientific-doc libghc-tagged-doc libghc-unordered-containers-doc libghc-vector-doc libjs-mathjax libghc-regex-base-doc libghc-regex-posix-doc libghc-regex-tdfa-doc libghc-old-time-doc libjson-xs-perl liblog-dispatch-perl libipc-shareable-perl libdevel-partialdump-perl librdf-perl librdf-trine-node-literal-xml-perl libtasn1-doc librdf-ns-curated-perl librdf-ns-perl librdf-prefixes-perl fltk1.3-doc libghc-dlist-doc libghc-uuid-types-doc libghc-old-locale-doc libghc-primitive-doc libmail-sendmail-perl libmime-lite-perl mailutils emacs-el libfreezethaw-perl libpng-tools libmath-base-convert-perl libtext-soundex-perl perl llvm-6.0-dev libjpeg-progs bzip2-doc debhelper libtool libtool-bin libvte-2.91-doc python3-pygments python3-yaml libmime-types-perl libtest-leaktrace-perl libarchive-cpio-perl libltdl-dev libtool-doc libmojolicious-perl python-pygments compface spamc sa-compile libio-socket-inet6-perl libcpanel-json-xs-perl libev-perl libio-socket-socks-perl libmojo-server-fastcgi-perl geoip-database-extra apel flim youtube-dl lmodern tex-gyre openjade icc-profiles-free libdate-calc-perl tinycdb ps2eps texlive-extra-utils texlive-font-utils fonts-texgyre phantomjs python3-pyxattr rtmpdump slib psutils php *php*5* libcuda1 libcuda*9* libevas-loaders libevas1-engines-drm libevas1-engines-fb libevas1-engines-x libghc-ansi-terminal-doc libghc-prettyprinter-ansi-terminal-doc libghc-prettyprinter-doc libghc-semigroupoids-doc gcc-arm-none-eabi kxterm libperlx-maybe-xs-perl binutils-arm-none-eabi libhttp-thin-perl libtest-www-selenium-perl libwww-mechanize-perl libwww-mechanize-treebuilder-perl libfindlib-ocaml-dev ledit *readline*editor* libdate-calc-xs-perl libfile-homedir-perl nvidia-kernel-dkms nvidia-kernel-418.226.00 nvidia-smi libnvidia-cfg1 nvidia-persistenced lib*cuda1*i386* libghc-colour-doc libghc-bifunctors-doc libghc-comonad-doc libdevel-repl-perl

sudo apt install build-essential -y
sudo apt install libreadline6* libreadline6-dev -y
sudo apt install *bzip2* -y
sudo apt install *liblzma* -y
sudo apt install *pcre1* -y
sudo apt install *pcre2-32* -y
sudo apt install xorg-dev -y
sudo apt build-dep r-base -y
## 倘若sudo apt build-dep r-base -y出现
## E: 您必须在 sources.list 中指定代码源(deb-src) URI错误信息,
## 请查阅 https://github.com/scibrokes/setup-centOS7-DO/issues/2#issuecomment-1227495090 
## 寻求解决方案。

sudo apt install libcurl4-openssl* libcurl4-openssl-dev -y
##sudo apt install -y libcur*
sudo apt install -y libxml*
## 建议安装:
sudo apt install -y ada-reference-manual-2012 gnat-gps gnat-8-doc gnat-8-sjlj junit-doc libboost-doc libboost1.67-doc libboost-container1.67-dev libboost-context1.67-dev libboost-coroutine1.67-dev libboost-exception1.67-dev libboost-fiber1.67-dev libboost-filesystem1.67-dev libboost-graph1.67-dev libboost-graph-parallel1.67-dev libboost-iostreams1.67-dev libboost-locale1.67-dev libboost-log1.67-dev libboost-math1.67-dev libboost-mpi1.67-dev libboost-mpi-python1.67-dev libboost-numpy1.67-dev libboost-program-options1.67-dev libboost-python1.67-dev libboost-random1.67-dev libboost-regex1.67-dev libboost-signals1.67-dev libboost-stacktrace1.67-dev libboost-test1.67-dev libboost-timer1.67-dev libboost-type-erasure1.67-dev libboost-wave1.67-dev libboost1.67-tools-dev libmpfrc++-dev libntl-dev libgcrypt20-doc libglibmm-2.4-doc libgtkmm-3.0-dev libdancer-perl libdancer2-perl libdbix-class-perl liblog4shib-doc libapache2-mod-perl2 libnet-jabber-perl libxerces-c-doc xmlrpc-api-utils liblog-tracemessages-perl xmltv-gui libatkmm-1.6-doc *gcc*xml* xsltproc doxygen fop libcairomm-1.0-doc libdancer-session-cookie-perl libhttp-parser-xs-perl libjson-any-perl libmath-base36-perl libmoosex-types-json-perl libmoosex-types-path-class-perl libmoosex-types-perl gtkmm-documentation libgnatcoll-doc libgtkmm-3.0-doc openmpi-doc libtemplate-plugin-gd-perl libtemplate-plugin-xml-perl libyaml-shell-perl python-gi-cairo liblinux-dvb-perl doxygen-latex doxygen-doc doxygen-gui fop-doc libavalon-framework-java-doc librhino-java fonts-dustin libmath-random-isaac-perl libqdox-java-doc libxalan2-java-doc libbsf-java libxsltc-java libbcel-java-doc bsh rhino bsh-doc libjline-java-doc librhino-java-doc libevent-perl libpoe-perl libcrypt-blowfish-perl libphp-serialization-perl libyaml-syck-perl libsaxon-java-doc libcurl4-gnutls-dev libcurl4-doc libldap2-dev librtmp-dev libssh2-1-dev libcurses-perl lib*poe*loop*event*perl* lib*poe*loop*tk*perl* libsocket-getaddrinfo-perl dnsutils rblcheck
## 推荐安装:
sudo apt install -y libinline-c-perl libinline-files-perl libdata-serializer-perl libocamlnet-ocaml-doc libcache-perl libclass-date-perl libinternals-perl libanyevent-perl libanyevent-http-perl libwww-curl-perl libxalan2-java libxalan2-java-doc liblingua-preferred-perl libterm-progressbar-perl xmltv-util gnat-gps-doc python-jedi python-pep8 libbsd-resource-perl libapache2-reload-perl libconfig-general-perl libconfig-tiny-perl libcookie-baker-xs-perl libcrypt-urandom-perl libmath-random-isaac-xs-perl libsql-translator-perl libcoarrays-openmpi-dev libcgi-compile-perl libcgi-emulate-psgi-perl libfcgi-procmanager-perl libscope-upper-perl libwww-form-urlencoded-xs-perl liblingua-preferred-perl libterm-progressbar-perl libsaxon-java libasync-interrupt-perl libguard-perl libgraph-perl libgraphviz-perl libtext-recordparser-perl libjdom1-java-doc libtext-tabulardisplay-perl

sudo apt install -y openssl*
## 建议安装:
sudo apt install -y asciidoc-doc source-highlight epubcheck catdvi bisonc++ *python*beautifulsoup* claws-mail-doc claws-mail-tools docbook inkscape transfig djvulibre-desktop djview4 *djvu*viewer* evince docbook-dsssl-doc *latex*beamer* libvte9 lib*gsl*2* gvfs ibus-doc ibus-table-array30 ibus-table-cangjie ibus-table-cangjie-big ibus-table-cangjie3 ibus-table-cangjie5 ibus-table-cantonese ibus-table-cantonhk ibus-table-cns11643 ibus-table-compose ibus-table-easy ibus-table-easy-big ibus-table-emoji ibus-table-erbi ibus-table-erbi-qs ibus-table-ipa-x-sampa ibus-table-jyutping ibus-table-quick ibus-table-quick-classic ibus-table-quick3 ibus-table-quick5 ibus-table-rustrad ibus-table-scj6 ibus-table-stroke5 ibus-table-thai ibus-table-translit ibus-table-translit-ua ibus-table-viqr ibus-table-wu ibus-table-wubi ibus-table-yawerty ibus-table-yong *hbf*cns*40*b5* *hbf*jfs56* *hbf*kanji*48* imagemagick gv hevea ttf-mscorefonts-installer libcatalyst-devel-perl libcatalyst-engine-apache-perl libcatalystx-leakchecker-perl libterm-size-any-perl libtest-exception-perl libtest-pod-coverage-perl libtest-pod-perl libsort-versions-perl libgeronimo-validation-1.0-spec-java-doc monodoc-gtk2.0-manual graphicsmagick-dbg libgeronimo-jpa-2.0-spec-java libjoda-time-java imagemagick-doc libjackson2-core-java-doc libjackson2-jr-java-doc lib*j*latex*math*java* *texlive*latex*3* groovy libjanino-java libjetty9-java libtomcat9-java libmono-i18n4.0-all libgamin0 sgmls-doc libtiff-opengl libtwelvemonkeys-java-doc libjmagick6-java lilypond linuxdoc-tools-text linuxdoc-tools-info python-watchdog php-apcu *ttf*2*pt*1* php-imagick lib*paper*specs*perl* bpython ipython libsqlite3-mod-spatialite python-bcrypt python-django-doc python-flup python-memcache python-mysqldb python-psycopg2 python-sqlite python-yaml python-genshi python-lxml python-pil-doc python-pil-dbg python-egenix-mxtexttools python-reportlab-doc python-setuptools-doc python-sortedcontainers-doc bpython3 *geoip*database*contrib* ipython3 python3-bcrypt *python3*flup* python3-memcache python3-mysqldb python3-psycopg2 *python3*sqlite* python3-genshi python3-lxml-dbg python-lxml-doc elpa-ess r-mathlib r-base-html python-aafigure python-matplotlib python-sphinx asymptote biber python-prompt-toolkit python3-prompt-toolkit texlive-omega coderay ruby-prawn-doc treetop ttf-dejavu-core sisu-markup-samples lv calibre pinfo poedit trang texlive-science-doc why3 zathura-ps zathura-djvu zathura-cb bisonc++-doc flexc++ python-twisted python3-jedi python-unrardll djview-plugin docbook-defguide psgml *xli*sp*stat* pspp jags julia nautilus-sendto unrar xfig groovy-doc gvfs-backends hevea-doc dia inkscape-tutorials libsvg-perl ivy-doc libbcpg-java libjsch-agent-proxy-java libjsch-java libmodule-install-perl libmoosex-daemonize-perl starman libosgi-compendium-java libosgi-core-java libgeronimo-jpa-2.0-spec-java-doc libjackson-json-java-doc libjanino-java-doc jetty9 libjoda-convert-java libjoda-time-java-doc coffeescript libjs-jquery-ui-docs lib*gnome*ui*0* libnunit-doc monodoc-nunit-manual tomcat9 libcglib-nodep-java libjdom2-java libjettison-java libkxml2-java lilypond-doc *mono*doc*gtk*manual* *mono*doc*gecko*manual* python-apsw-doc python-cycler-doc python-dbus-dbg python-dbus-doc python-egenix-mxtexttools-dbg python-egenix-mxtexttools-doc python-egenix-mxtools-dbg python-egenix-mxtools-doc python-enum34-doc python-genshi-doc python-greenlet-doc python-greenlet-dev python-greenlet-dbg python-jinja2-doc python-lxml-dbg python-markdown-doc python-cairocffi python-configobj python-excelerator python-gobject-2 python-matplotlib2-doc python-nose python-qt4 python-scipy python-tornado python-traits ttf-staypuft memcached default-mysql-server virtual-mysql-server python-egenix-mxdatetime python-mysqldb-dbg python-pytest python-numpy-dbg python-numpy-doc python-pexpect-doc python-doc python3-pil.imagetk python-pil.imagetk python-psycopg2-doc python-pyqt5-dbg python-cryptography python-openssl python-socks python-paste imagemagick-6.q16 python-sphinx-rtd-theme python-stemmer sphinx-doc texlive-generic-extra python-sqlite-dbg python-ntlm python3-greenlet-dbg python3-mysqldb-dbg python3-pytest python3-numpy-dbg r-doc-html why3-examples *auto*trace* enscript gnuplot hp2xx html2ps libwmf-bin mplayer povray *radiance* ufraw-batch gnuplot-doc weblint-perl xhtml2ps libdirectfb-extra mplayer-doc netselect fping povray-doc povray-examples ufraw
## 推荐安装:
sudo apt install -y xmlto claws-mail-i18n emacs fonts-tlwg-garuda fonts-tlwg-kinnari fonts-tlwg-laksaman fonts-tlwg-loma fonts-tlwg-mono fonts-tlwg-norasi fonts-tlwg-purisa fonts-tlwg-sawasdee fonts-tlwg-typewriter fonts-tlwg-typist fonts-tlwg-typo fonts-tlwg-umpush fonts-tlwg-waree sane gvfs ibus-clutter ibus-gtk ibus-gtk3 *ibus*qt*4* *j*latex*209*bin* inkscape fig2dev libcatalyst-dispatchtype-regex-perl gstreamer1.0-nice libposix-strptime-perl ca-certificates-mono libmono-btls-interface4.0-cil libtext-roman-perl libpurple-bin calibre pngquant openjfx-source ruby-gtk2 gstreamer1.0-gtk3 ipe php-horde-test php-horde-imap-client php-intl php-mbstring *php*m*crypt* gstreamer1.0-libav libfile-type-perl python-sqlparse docutils-doc python-crypto python-qt4 python-olefile python-renderpm python3-sqlparse python3-bs4 python3-crypto r-recommended r-base-dev r-doc-html sisu-sqlite sisu-postgresql keychain po4a qrencode ruby-rmagick tidy tree gsfonts-x11 asymptote-doc python-urwid python3-watchdog python-dnspython libgpars-groovy-java libjcommander-java libjs-bootstrap libjs-jquery-mousewheel libjs-jquery-fancybox libwmf-bin python-scour liblinux-inotify2-perl lib*glue*zilla* mono-csharp-shell php-apcu-bc python-argcomplete python-openssl python-libxml2 python-utidylib python-bs4 python-tk python-egenix-mxdatetime python-webob python-cryptography python-ipaddress r-base-dev *cvc*3* why3-coq *sp*ass* z3

sudo apt install -y alt-ergo povray-includes gsfonts-x11 dia-shapes *juni*4*doc* libservlet3.1-java-doc authbind libpar-dist-perl lilypond-doc-html python-click python-openid python-scgi node-less python3-pyinotify libtcnative-1 xfig-libs blt-demo coffeescript-doc samba-common ess julia-doc vim-julia libbcpg-java-doc libjdom2-java-doc libjna-java-doc libjnr-enxio-java-doc libjnr-ffi-java-doc libjnr-posix-java-doc libjoda-convert-java-doc libjs-es5-shim libosgi-compendium-java-doc libosgi-core-java-doc libyaml-snake-java libaspectj-java libcommons-collections3-java mariadb-test tinyca libcache-memcached-perl lib*mem*cached* ghp-import mkdocs-doc netselect-apt debiandoc-sgml *w3c*dtd*xhtml* w3-dtd-mathml python-attr-doc python-cairocffi-doc python-configobj-doc python-cryptography-doc python-cryptography-vectors *python*examples* python-egenix-mxbeebase-doc python-egenix-mxdatetime-doc python-egenix-mxproxy-doc python-egenix-mxqueue-doc python-egenix-mxstack-doc python-egenix-mxuid-doc python-egenix-mxurl-doc python-funcsigs-doc python-gobject-2-dbg python-gtk2-doc python-coverage python-nose-doc python-openssl-doc *python3*openssl*dbg* *httpd*wsgi* libapache2-mod-python libapache2-mod-scgi libjs-mochikit python-pastedeploy python-pastescript python-pastewebkit python-pil.imagetk-dbg python-ply-doc subversion python-pytest-xdist python-mock python-qt4-dbg python-scipy-doc python-stemmer-doc python-tk-dbg python-pycurl python-tornado-doc python-traitsui python-twisted-bin-dbg python-glade2 python-pampy *python3*qt3* python-serial node-uglify python-livereload-doc python3-flask python3-slimmer python3-pil.imagetk-dbg python3-tk-dbg python3-twisted tomcat9-admin tomcat9-docs tomcat9-examples tomcat9-user gimp-ufraw gsfonts-x11 spell xfig-doc evolution-plugins evolution-plugin-pstimport yelp lua5.3 libhamcrest-java-doc libfcgi-bin libmessage-passing-zeromq-perl liblinux-io-prio-perl libgssapi-perl node-source-map php-horde-cache php-horde-compress-fast php-horde-db php-horde-hashtable *php*horde*mongo* php-horde-pack *php*horde*string*prep* php-horde-smtp php-net-dns2 php-net-smtp php-horde-nls php-horde-text-filter *php*idn* php-horde-cli php-horde-log sysstat libjs-jquery-isonscreen libjs-jquery-tablesorter libjs-jquery-throttle-debounce python-livereload python3-argcomplete python3-blinker python3-simplejson samba-common-bin *why* *proof*general* libcoq-ocaml-dev *coq*doc* debiandoc-sgml-doc libedataserver* db5.3-doc libsoup2.4-doc sqlite3-doc evolution-plugins-experimental argonaut-server slapd fusiondirectory-plugin-argonaut hunspell libapache2-mod-python-doc aspectj uw-mailutils libcommons-collections3-java-doc libgpars-groovy-java-doc libjcommander-java-doc libjcsp-java-doc iwatch node-acorn *node*uglify*to*browserify* php-xdebug phpunit-dbunit php-invoker php-soap *php*uopz* postgresql-doc postgresql-doc-11 python-coverage-doc python-crypto-doc execnet-doc python-mock-doc python-kid python-cheetah python-cherrypy #postfix

sudo apt install -y libqscintilla2-doc python3*wxgtk* ruby-svn python-pycurl-dbg python-pycurl-doc python3-pyfaidx python-pyfaidx python3-pyvcf python-pyvcf python-renderpm-dbg python-sqlparse-doc python-urwid-doc python-webob-doc python3-cryptography-vectors python-flask-doc python3*openssl*dbg* python-pyinotify-doc *python3*gtk2* *python3*glade2* python3-pampy *python3*qt4* python3-serial *python3*wxgtk2.8* python3-twisted-bin-dbg python3-termcolor python-werkzeug-doc gir1.2-rsvg-2.0 fcgiwrap postgresql-contrib db5.3-util libapache2-mod-svn subversion-tools docbook-mathml python-flask python-pyinotify libsvn-perl python-subversion svn2cl python-redis python-termcolor python-blinker python-blinker-doc python-hiredis python-gevent redis-server python-gevent-doc python-gevent-dbg ruby-redis

sudo apt install -y *pdf* *latex*

## 安装个Atlas图书馆自动调整排档
sudo apt install libatlas3-base -y

## 安装个多管齐下的OpenBlas图书馆
sudo apt install libopenblas-base -y

## 下载R语言原代码程序包
export R_VERSION=4.2.1
curl -O https://cran.rstudio.com/src/base/R-4/R-${R_VERSION}.tar.gz

## 解压缩到指定的路径
sudo tar -C /usr/lib -xzvf R-${R_VERSION}.tar.gz
sudo rm -rf R-${R_VERSION}.tar.gz
sudo mv /usr/lib/R-${R_VERSION}/ /usr/lib/R
sudo chmod 777 -R /usr/lib/R
cd /usr/lib/R
#tar -xzvf R-${R_VERSION}.tar.gz
#cd R-${R_VERSION}

## R语言配置
sudo ./configure \
   --prefix=/usr/lib/R \
   --enable-memory-profiling \
   --enable-R-shlib \
   --with-pcre2 \
   --with-blas \
   --with-lapack \
   --with-readline=yes

## 安装R语言
sudo make
sudo make install

## 查询刚安装好的语言版本
/usr/lib/R/bin/R --version

#sudo ln -s /usr/bin/R/${R_VERSION}/bin/R /usr/local/bin/R
#sudo ln -s /usr/bin/R/${R_VERSION}/bin/Rscript /usr/local/bin/Rscript

## 赋值修改路径以下中的文件夹设置的权限
sudo chmod 777 -R /etc/R/
sudo chmod 777 -R /usr/lib/R/library/
sudo chmod 777 -R /usr/share/R/

## 创建个快捷键到台面
sudo mv /usr/share/applications/R.desktop /usr/share/applications/.desktop
sudo sed -i 's/Name=R/Name=鄀/g' /usr/share/applications/.desktop
sudo cp /usr/share/applications/.desktop /home/englianhu/桌面
sudo chmod +x /home/englianhu/桌面/.desktop

...
...
...
tar 解压缩命令
tar
-c: 建立压缩档案
-x:解压
-t:查看内容
-r:向压缩归档文件末尾追加文件
-u:更新原压缩包中的文件
这五个是独立的命令,压缩解压都要用到其中一个,可以和别的命令连用但只能用其中一个。下面的参数是根据需要在压缩或解压档案时可选的。
-z:有gzip属性的
-j:有bz2属性的
-Z:有compress属性的
-v:显示所有过程
-O:将文件解开到标准输出
下面的参数-f是必须的
-f: 使用档案名字,切记,这个参数是最后一个参数,后面只能接档案名。

...
...
...

总结

1、.tar 用 tar –xvf 解压
2、
.gz 用 gzip -d或者gunzip 解压
3、.tar.gz和.tgz 用 tar –xzf 解压
4、.bz2 用 bzip2 -d或者用bunzip2 解压
5、
.tar.bz2用tar –xjf 解压
6、.Z 用 uncompress 解压
7、
.tar.Z 用tar –xZf 解压
8、.rar 用 unrar e解压
9、
.zip 用 unzip 解压

引用:Linux下tar命令解压到指定的目录

倘若遇到configure: error: PCRE2 library and headers are required, or use --with-pcre1 and PCRE >= 8.32 with UTF-8 support错误信息,可以查阅以下解决方案:

## 事先安装R语言所需程序包
sudo apt install gfortran -y
sudo apt install build-essential -y
sudo apt install libreadline6 libreadline6-dev -y
sudo apt install xorg-dev -y

## 下载并安装R语言
export R_VERSION=4.2.1
curl -O https://cran.rstudio.com/src/base/R-4/R-${R_VERSION}.tar.gz
#
wget https://cran.r-project.org/src/base/R-4/R-${R_VERSION}.tar.gz

sudo tar -C /usr/lib -xzf R-${R_VERSION}.tar.gz
sudo rm -rf R-${R_VERSION}.tar.gz
sudo mv /usr/lib/R-${R_VERSION}/ /usr/lib/R
sudo chmod 777 -R /usr/lib/R
cd /usr/lib/R/

## 安装个Atlas图书馆自动调整排档
sudo apt install libatlas3-base -y

## 安装个多管齐下的OpenBlas图书馆
sudo apt install libopenblas-base -y

## 赋值修改路径/etc/R/中的文件设置的权限
sudo chmod 777 -R /etc/R/

## 赋值修改路径以下中的文件夹设置的权限
sudo chmod 777 -R /etc/R/
sudo chmod 777 -R /usr/lib/R/library/
sudo chmod 777 -R /usr/share/R/
## 添加网址到🇹🇼🇨🇳🇻🇳🇲🇾🐼🚩apt仓库并更新仓库
echo 'deb http://ftp.cn.debian.org/debian bullseye main' | sudo tee /etc/apt/sources.list.d/bullseye.list
sudo apt update
echo 'deb http://cloud.r-project.org/bin/linux/debian bullseye-cran40/' | sudo tee /etc/apt/sources.list.d/bullseye.list
sudo apt update
# echo 'deb http://cloud.r-project.org/bin/linux/debian buster-cran40/' | sudo tee /etc/apt/sources.list.d/bullseye.list
sudo apt update

## 安装🇹🇼🇨🇳🇻🇳🇲🇾🐼🚩德比安/达比安🍥安装工具程序包
sudo apt install *gdebi* -y

## 安装🇹🇼🇨🇳🇻🇳🇲🇾🐼🚩德比安/达比安🍥安装工具程序包
sudo apt install sudo l*sudo s*sudo -y
sudo apt install -y *aptitude*

## 安装🇹🇼🇨🇳🇻🇳🇲🇾🐼🚩终端编译器
#echo 'deb http://ftp.cn.debian.org/debian bullseye main' | sudo tee /etc/apt/sources.list.d/bullseye.list
#sudo apt update
#sudo apt install micro -y
#sudo apt install micro* *micro* p*micro* -y
#https://blog.51cto.com/u_15244533/2845275
sudo apt install -y cmake cmake-qt-gui

## 安装java编程语言相关程序包
sudo apt install -y *jre* *jdk*
## 更新🇹🇼🇨🇳🇻🇳🇲🇾🐼🚩update应用更新程序包
sudo apt install -y *update*

## 更新🇹🇼🇨🇳🇻🇳🇲🇾🐼🚩wget下载工具程序包
sudo apt install -y *wget*
## 建议安装:
sudo apt install -y cupt debdelta dpkg-repack debdelta-doc fakeroot
## 推荐安装:
sudo apt install -y ed xdelta3 xdelta bsdiff gnupg2 bsdiff ed gnupg2 libxdelta2 xdelta xdelta3

##安装🇹🇼🇨🇳🇻🇳🇲🇾🐼🚩百度输入法🐾应用
##https://srf.baidu.com/?c=j&e=d&from=1000e&platform=ubuntu&ref=index_entrance_android_click
wget https://imeres.baidu.com/imeres/ime-res/guanwang/img/Ubuntu_Deepin-fcitx-baidupinyin-64.zip
unzip ./*.zip && sudo rm -rf *.zip *.docx
#sudo gdebi fcitx-baidupinyin.deb
sudo apt install -y ./*.deb && sudo rm -rf *.deb
##注:本输入法输入面板程序与其他输入法如搜狗输入法、讯飞输入法冲突,可能会受其他输入法影响而无法正常启动,若已安装其他输入法并导致百度输入法输入面板无法正常启动,应关闭其他输入法相关进程并重启百度输入法输入面板程序,输入面板程序安装路径为/opt/apps/com.baidu.fcitx-baidupinyin/files/bin/baidu-qimpanel
/opt/apps/com.baidu.fcitx-baidupinyin/files/bin/baidu-qimpanel
sudo chmod +x /opt/apps/com.baidu.fcitx-baidupinyin/files/bin/bd-qimpanel.watchdog.sh

##安装gcin和hime输入法
##https://github.com/scibrokes/r-world/issues/1#issuecomment-1434387627
sudo apt-get install *scim* *gcin* *hime* *fcitx* *im*panel* -y

sudo apt install -y *aptitude* ## 通过命令行利用aptitude 安装fcitx、qt
sudo aptitude install -y fcitx-bin fcitx-table fcitx-config-gtk fcitx-config-gtk2 fcitx-frontend-all
sudo aptitude install -y qt5-default qtcreator qml-module-qtquick-controls2

## 安装🇹🇼🇨🇳🇻🇳🇲🇾🐼🚩操作系统信息展示程序包
sudo apt install -y *neofetch* *chafa* lib*stty*perl

## 安装🇹🇼🇨🇳🇻🇳🇲🇾🐼🚩SVN版本控制系统应用
sudo apt install -y subversion sub*version* *sub*version*
## 推荐安装:
sudo apt install -y kdiff3 kdiff3-qt kompare meld tkcvs mgdiff qct kdiff3-doc dirdiff

## 安装🇹🇼🇨🇳🇻🇳🇲🇾🐼🚩截图、修图、分区、终端等应用
sudo apt install -y flameshot*
sudo apt install -y kolour* gwenview *partition*manager* *kwik* git2* gitlab* xterm lib*xfce* *micro*code *geany* *terminology* *emulat* vokoscreen* *7zip*

## 下载并安装🇹🇼🇨🇳🇻🇳🇲🇾🐼🚩预览版®文艺坊
export RStudio_VERSION = 2022.07.1-554
## https://www.rstudio.com/products/rstudio/download/preview
## wget https://s3.amazonaws.com/rstudio-ide-build/desktop/bionic/amd64/rstudio-${RStudio_VERSION}-amd64.deb
#sudo gdebi rstudio-${RStudio_VERSION}-amd64.deb

## https://posit.co/download/rstudio-desktop
wget https://download1.rstudio.org/electron/bionic/amd64/rstudio-${RStudio_VERSION}-amd64.deb
sudo apt install -y ./*.deb && sudo rm -rf *.deb
sudo mv /usr/share/applications/rstudio.desktop /usr/share/applications/移动终端操作系统.desktop
sudo sed -i 's/Name=RStudio/Name=移动终端操作系统/g' /usr/share/applications/移动终端操作系统desktop
sudo cp /usr/share/applications/移动终端操作系统.desktop /home/englianhu/桌面
sudo sed -i 's/Name=RStudio/Name=移动终端操作系统/g' /home/englianhu/桌面/移动终端操作系统.desktop
sudo chmod +x /home/englianhu/桌面/移动终端操作系统.desktop
## 去除注释的井字键
sudo sed -i 's/^# deb /deb /g' /etc/apt/sources.list.d/debian-buster.list
sudo sed -i 's/^# deb-src /deb-src /g' /etc/apt/sources.list.d/debian-buster.list

## 或通过micro修改文件内容
sudo chmod 777 -R /etc/apt/sources.list.d/
sudo micro /etc/apt/sources.list.d/debian-buster.list

添加 deb https://deb.debian.org/debian buster-backports main contrib non-freedeb-src https://mirrors.bfsu.edu.cn/debian/ buster main contrib non-free中的#字键。

sudo apt update
sudo apt install -y apt-transport-https vim
sudo sh -c "echo 'deb https://deb.debian.org/debian buster-backports main contrib non-free' > /etc/apt/sources.list.d/buster-backports.list"
sudo apt update
sudo apt -t buster-backports install wireguard -y
## 建议安装:
sudo apt install -y *resolv*conf*
sudo apt install -y *open*resolv*
## 推荐安装:
sudo apt install -y easy-rsa opensc pcscd
## 建议安装:
sudo apt install -y pcmciautils wireless-tools

引用:Debian 搭建 WireGuard 服务端

倘若gdebi安装vpn-unlimited时出现wireguard相关错误信息的话,就参考以上代码安装wireguard,就可以如下安装vpn-unlimited,倘若仍未成功安装,请查阅scibrokes/setup-centOS7-DO#2 (comment)~

## 安装🇺🇦无穷VPN♾️应用
export VPN_VERSION=8.5.2 
## https://www.vpnunlimited.com/api/keepsolid/vpn-download?platform=linux-new
#sudo gdebi vpn-unlimited_8.5-amd64_ubuntu.deb
#sudo rm vpn-unlimited_8.5-amd64_ubuntu.deb
wget https://geo.keepsolidcdn.com/soft/vpn/Linux/Vpn_Unlimited_${VPN_VERSION}_amd64.deb
sudo apt install -y ./*.deb && sudo rm -rf *.deb
## 建议安装:
sudo apt install -y libstrongswan-extra-plugins
## 推荐安装:
sudo apt install -y libstrongswan-standard-plugins strongswan-plugin-eap-mschap* libstrongswan-extra-plugins
##安装🇹🇼🇨🇳🇻🇳🇲🇾🐼🚩VSCode🎗️应用
export VSCode = 1.78.2-1683731010
#wget https://code.visualstudio.com/docs/?dv=linux64_deb
#sudo gdebi code_${VSCode}_amd64.deb
#sudo rm code_${VSCode}_amd64.deb
wget https://az764295.vo.msecnd.net/stable/b3e4e68a0bc097f0ae7907b217c1119af9e03435/code_${VSCode}_amd64.deb
sudo apt install -y ./*.deb && sudo rm -rf *.deb

sudo apt install -y wine* *playonlinux*

##下载并安装🇹🇼🇨🇳🇻🇳🇲🇾🐼🚩猫城🐱应用
## https://github.com/shiftkey/desktop/releases
curl -l https://github.com/shiftkey/desktop/releases | sed -n '/linux1.deb/p'
wget https://github.com/shiftkey/desktop/releases/download/release-3.0.5-linux1/GitHubDesktop-linux-3.0.5-linux1.deb ##根据版本来修改网址
#sudo gdebi GitHubDesktop-linux-3.0.5-linux1.deb
#sudo rm GitHubDesktop-linux-3.0.5-linux1.deb
sudo apt install -y ./*.deb && sudo rm -rf *.deb
sudo mv /usr/share/applications/github-desktop.desktop /usr/share/applications/猫城.desktop
sudo sed -i 's/Name=github-desktop/Name=猫城/g' /usr/share/applications/猫城.desktop
sudo cp /usr/share/applications/猫城.desktop /home/englianhu/桌面
sudo chmod +x /home/englianhu/桌面/猫城.desktop
sudo chmod 777 -R /home/englianhu/桌面/猫城.desktop
sudo sed -i 's/Name=GitHub Desktop/Name=猫城/g'  '/home/englianhu/桌面/猫城.desktop'

## 建议安装:
sudo apt install -y *gnome*keyring* libgnome*keyring* pinentry-doc
## 推荐安装:
sudo apt install -y libpam-gnome-keyring gnome-keyring-pkcs11
---

用在 AMD64 上 micro_2.0.8-1+b6_amd64.deb 的下載頁面
如果您正在執行 Debian,請儘量使用像 aptitude 或者 synaptic 一樣的套件管理器,代替人工手動操作的方式從這個網頁下載並安裝套件。

您可以使用以下列表中的任何一個源映象只要往您的 /etc/apt/sources.list 檔案中像下面這樣新增一行:

deb http://ftp.cn.debian.org/debian bullseye main
請使用最終確定的源映象替換 ftp.de.debian.org/debian

您可以從以下任意站點的 pool/main/m/micro/ 子目錄中下載所需的檔案:

Citation: https://packages.debian.org/bullseye/amd64/micro/download


:~$ sudo micro /etc/apt/sources.list

try to add the repo to apt store as above and then

deb http://ftp.cn.debian.org/debian bullseye main

add one more row deb ... as above to the sources.list file to keep track update~

---

参考文献

@englianhu
Copy link
Owner Author

englianhu commented Apr 28, 2023

sudo apt install -y --fix-missing yelp libgdk*pixbuf* libglib* libgtk-3* libwayland* libatk1.0* libglib2.0* libpango* devhelp gstreamer1.0-lib* eog* libcairomm-1.0-doc monodoc-gtk3.0-manual gtkmm-documentation libnunit* monodoc-nunit* monodoc-gtk* monodoc-gecko* mono-csharp-shell

sudo apt install -y --fix-missing redflag-install redflag-wine redflag-record-cdrkit redflag-browser redflag-picture* linux-image-*-redflag-amd64 redflag-themes-new-year libredflag-record-media* libredflag-record-media* redflag-software-center redflag-video nautilus-extension-redflag-record redflag-picture redflag-themes-spring-festival libredflag-record-media3* redflag-themes redflag-themes-100th-anniversary redflag-dove gir1.2-redflag-recordmedia* redflag-themes-nationalday72 gir1.2-redflag-recordburn* redflag-screenshots redflag-archive-keyring redflag-record-common redflag-music redflag-record redflag-notepad gir1.2-redflag-record* gir1.2-redflag-record* gir1.2-redflag-record* gir1.2-redflag-recordburn* gir1.2-redflag-record* gir1.2-redflag-recordmedia*

sudo apt install -y --fix-missing redflag-picture-dev linux-image-4.19.0-16-redflag-amd64 redflag-themes-new-year libredflag-record-media3-1 libredflag-record-media-dev redflag-software-center redflag-video nautilus-extension-redflag-record redflag-picture redflag-themes-spring-festival libredflag-record-media3-dev redflag-themes redflag-themes-100th-anniversary redflag-dove gir1.2-redflag-recordmedia-3.1 redflag-themes-nationalday72 gir1.2-redflag-recordburn-3.1 redflag-screenshots redflag-archive-keyring redflag-record-common redflag-music redflag-record redflag-notepad gir1.2-redflag-record-3.0 gir1.2-redflag-record-3.1 gir1.2-redflag-record-3.1 gir1.2-redflag-recordburn-3.1 gir1.2-redflag-record-3.1 gir1.2-redflag-recordmedia-3.1

经过查询并没安装成功,故此得逐一查看并安装如下...

sudo apt install -y --fix-missing command-not-found gstreamer-qapt redflag-install
## 建议安装:
sudo apt install -y snapd
sudo apt install -y --fix-missing redflag-wine

sudo apt install -y --fix-missing command-not-found gstreamer-qapt redflag-record*
## 建议安装:
sudo apt install -y --fix-missing libdvdcss2 tracker *read*om* libdb-file-lock-perl libfile-readbackwards-perl libosinfo-l10n
## 推荐安装:
sudo apt install -y --fix-missing nautilus-extension-redflag-record dvdauthor libarchive-tar-wrapper-perl tracker-miner-fs

sudo dpkg-reconfigure libdvd-pkg

sudo apt install -y --fix-missing redflag-themes*
sudo apt install -y --fix-missing redflag-notepad

sudo apt install -y --fix-missing redflag-music
## 建议安装:
sudo apt install -y sg3-utils
## 推荐安装:
sudo apt install -y libgpod-common

sudo apt install -y --fix-missing redflag-video
## 建议安装:
sudo apt install -y *firmware*crystalhd*

sudo apt install -y --fix-missing libredflag-record*
sudo apt install -y --fix-missing redflag-software*
sudo apt install -y --fix-missing libdirectfb-extra mplayer-doc netselect fping firmware-crystal* youtube-dl redflag-video*
sudo apt install -y --fix-missing netselect-apt phantomjs python3-pyxattr rtmpdump python3-pyxattr-dbg python-pyxattr* python3-gdbm-dbg python3-tk-dbg
sudo apt install -y --fix-missing *redflag-record
sudo apt install -y --fix-missing *redflag-dove*
sudo apt install -y --fix-missing *redflag-screenshots*

sudo chmod 777 -R /usr/share/applications
sudo mv /usr/share/applications/redflag-browser.desktop /usr/share/applications/秦人纪元.desktop
sudo mv /usr/share/applications/redflag-install.desktop /usr/share/applications/秦人文房.desktop
sudo mv /usr/share/applications/brasero.desktop /usr/share/applications/秦人记册.desktop
sudo mv /usr/share/applications/redflag-video.desktop /usr/share/applications/秦人百戏.desktop
sudo mv /usr/share/applications/redflag-screenshots.desktop /usr/share/applications/秦人素描.desktop
sudo mv /usr/share/applications/redflag-music.desktop /usr/share/applications/秦人百乐.desktop
sudo mv /usr/share/applications/redflag-picture.desktop /usr/share/applications/秦人考工.desktop
sudo mv /usr/share/applications/redflag-software-center.desktop /usr/share/applications/秦人商城.desktop
sudo mv /usr/share/applications/org.kde.dolphin.desktop /usr/share/applications/秦人管家.desktop
sudo mv /usr/share/applications/org.kde.konsole.desktop /usr/share/applications/秦人终端.desktop
sudo mv /usr/share/applications/redflag-notepad.desktop /usr/share/applications/秦人笺书.desktop
sudo mv /usr/share/applications/trash.desktop /usr/share/applications/资源回收.desktop

sudo cp /usr/share/applications/秦人纪元.desktop /home/englianhu/桌面
sudo cp /usr/share/applications/秦人文房.desktop /home/englianhu/桌面
sudo cp /usr/share/applications/秦人记册.desktop /home/englianhu/桌面
sudo cp /usr/share/applications/秦人百戏.desktop /home/englianhu/桌面
sudo cp /usr/share/applications/秦人素描.desktop /home/englianhu/桌面
sudo cp /usr/share/applications/秦人百乐.desktop /home/englianhu/桌面
sudo cp /usr/share/applications/秦人考工.desktop /home/englianhu/桌面
sudo cp /usr/share/applications/秦人商城.desktop /home/englianhu/桌面
sudo cp /usr/share/applications/秦人管家.desktop /home/englianhu/桌面
sudo cp /usr/share/applications/秦人终端.desktop /home/englianhu/桌面
sudo cp /usr/share/applications/秦人笺书.desktop /home/englianhu/桌面
sudo cp /usr/share/applications/资源回收.desktop /home/englianhu/桌面

sudo chmod 777 -R +x /home/englianhu/桌面/秦人文房.desktop
sudo chmod 777 -R +x /home/englianhu/桌面/秦人记册.desktop
sudo chmod 777 -R +x /home/englianhu/桌面/秦人素描.desktop
sudo chmod 777 -R +x /home/englianhu/桌面/秦人纪元.desktop
sudo chmod 777 -R +x /home/englianhu/桌面/秦人百戏.desktop
sudo chmod 777 -R +x /home/englianhu/桌面/秦人百乐.desktop
sudo chmod 777 -R +x /home/englianhu/桌面/秦人考工.desktop
sudo chmod 777 -R +x /home/englianhu/桌面/秦人商城.desktop
sudo chmod 777 -R +x /home/englianhu/桌面/秦人管家.desktop
sudo chmod 777 -R +x /home/englianhu/桌面/秦人终端.desktop
sudo chmod 777 -R +x /home/englianhu/桌面/秦人笺书.desktop
sudo chmod 777 -R +x /home/englianhu/桌面/资源回收.desktop

sudo sed -i 's/Name=Brasero/Name=秦人记册/g' /home/englianhu/桌面/秦人记册.desktop
sudo sed -i 's/Name\[zh_CN\]=红旗刻录/Name[zh_CN]=秦人记册/g' /home/englianhu/桌面/秦人记册.desktop

sudo sed -i 's/Name=REDFLAG Package Install/Name=秦人文房/g' /home/englianhu/桌面/秦人文房.desktop
sudo sed -i 's/Name\[zh_CN\]=红旗软件包安装器/Name[zh_CN]=秦人文房/g' /home/englianhu/桌面/秦人文房.desktop

sudo sed -i 's/Name=redflag-screenshots/Name=秦人素描/g' /home/englianhu/桌面/秦人素描.desktop
sudo sed -i 's/Name\[zh_CN\]=红旗截图/Name[zh_CN]=秦人素描/g' /home/englianhu/桌面/秦人素描.desktop

sudo sed -i 's/Name=redflag-notepad/Name=秦人笺书/g' /home/englianhu/桌面/秦人笺书.desktop
sudo sed -i 's/Name=红旗文档编辑器/Name=秦人笺书/g' /home/englianhu/桌面/秦人笺书.desktop
sudo sed -i 's/Name\[zh_CN\]=红旗文档编辑器/Name[zh_CN]=秦人笺书/g' /home/englianhu/桌面/秦人笺书.desktop

sudo sed -i 's/Name=Image Viewer/Name=秦人考工/g' /home/englianhu/桌面/秦人考工.desktop
sudo sed -i 's/Name=红旗看图/Name=秦人考工/g' /home/englianhu/桌面/秦人考工.desktop
sudo sed -i 's/Name\[zh_CN\]=红旗看图/Name[zh_CN]=秦人考工/g' /home/englianhu/桌面/秦人考工.desktop

sudo sed -i 's/Name=Konsole/Name=秦人终端/g' /home/englianhu/桌面/秦人终端.desktop
sudo sed -i 's/Name\[zh_CN\]=终端/Name[zh_CN]=秦人终端/g' /home/englianhu/桌面/秦人终端.desktop

sudo sed -i 's/Name=redflag-music/Name=秦人百乐/g' /home/englianhu/桌面/秦人百乐.desktop
sudo sed -i 's/Name=红旗音乐/Name=秦人百乐/g' /home/englianhu/桌面/秦人百乐.desktop
sudo sed -i 's/Name\[zh_CN\]=红旗音乐/Name[zh_CN]=秦人百乐/g' /home/englianhu/桌面/秦人百乐.desktop

sudo sed -i 's/Name=redflag-software-center/Name=秦人商城/g' /home/englianhu/桌面/秦人商城.desktop
sudo sed -i 's/Name\[zh_CN\]=红旗应用商店/Name[zh_CN]=秦人商城/g' /home/englianhu/桌面/秦人商城.desktop
sudo sed -i 's/红旗应用/秦人商用/g' /home/englianhu/桌面/秦人商城.desktop

sudo sed -i 's/Name=Dolphin/Name=秦人管家/g' /home/englianhu/桌面/秦人管家.desktop
sudo sed -i 's/Name\[zh_CN\]=文件管理器/Name[zh_CN]=秦人管家/g' /home/englianhu/桌面/秦人管家.desktop
sudo sed -i 's/Name\[zh_TW\]=Dolphin/Name[zh_TW]=秦人管家/g' /home/englianhu/桌面/秦人管家.desktop

sudo sed -i 's/Name=Brasero/Name=秦人记册/g' /home/englianhu/桌面/秦人记册.desktop
sudo sed -i 's/Name\[zh_CN\]=红旗刻录/Name[zh_CN]=秦人记册/g' /home/englianhu/桌面/秦人记册.desktop
sudo sed -i 's/Name\[zh_HK]=Brasero/Name[zh_HK]=秦人记册/g' /home/englianhu/桌面/秦人记册.desktop
sudo sed -i 's/Name\[zh_TW\]=Brasero/Name[zh_TW]=秦人记册/g' /home/englianhu/桌面/秦人记册.desktop

sudo sed -i 's/Name=Redflag Web Browser/Name=秦人纪元/g' /home/englianhu/桌面/秦人纪元.desktop
sudo sed -i 's/Name\[zh_CN\]=红旗浏览器/Name[zh_CN]=秦人纪元/g' /home/englianhu/桌面/秦人纪元.desktop
 sudo sed -i 's/紅旗瀏覽器/秦人紀元/g' /home/englianhu/桌面/秦人纪元.desktop

sudo sed -i 's/Name=redflag Video/Name=秦人百戏/g' /home/englianhu/桌面/秦人百戏.desktop
sudo sed -i 's/Name\[zh_CN\]=红旗影音/Name[zh_CN]=秦人百戏/g' /home/englianhu/桌面/秦人百戏.desktop
sudo sed -i 's/红旗影音/秦人百戏/g' /home/englianhu/桌面/秦人百戏.desktop

sudo sed -i 's/Name=Trash/Name=资源回收/g' /home/englianhu/桌面/资源回收.desktop
sudo sed -i 's/Name\[zh_CN\]=回收站/Name[zh_CN]=资源回收/g' /home/englianhu/桌面/资源回收.desktop
sudo sed -i 's/Name\[zh_TW\]=资源回收筒/Name[zh_TW]=资源回收/g' /home/englianhu/桌面/资源回收.desktop

sudo rm -rf /home/englianhu/桌面/org.kde.dolphin.desktop /home/englianhu/桌面/redflag-browser.desktop /home/englianhu/桌面/redflag-music.desktop /home/englianhu/桌面/redflag-notepad.desktop /home/englianhu/桌面/redflag-picture.desktop /home/englianhu/桌面/redflag-software-center.desktop /home/englianhu/桌面/redflag-video.desktop /home/englianhu/桌面/trash.desktop
sudo rm -rf /usr/share/applications/brasero-nautilus.desktop /usr/share/applications/org.kde.spectacle.desktop

@englianhu
Copy link
Owner Author

englianhu commented May 6, 2023

## 安装深度操作系统应用
sudo apt install -y *deepin* lib*xfce* *xubuntu*
sudo apt install -y *wine* *playon*

## 安装百度网盘🐾☁️
export Baidu_VERSION=4.17.7
## https://pan.baidu.com/download?_at_=1693204658116#pan
wget https://issuepcdn.baidupcs.com/issue/netdisk/LinuxGuanjia/${Baidu_VERSION}/baidunetdisk_${Baidu_VERSION}_amd64.deb
sudo apt install -y ./*.deb && sudo rm -rf *.deb

sudo mv /opt/baidunetdisk/ /usr/lib/baidunetdisk
which /usr/lib/baidunetdisk/baidunetdisk
/usr/lib/baidunetdisk/baidunetdisk --version

## sudo micro /usr/share/applications/baidunetdisk.desktop
## 修改文件路径/蜀道 Exec=/usr/lib/baidunetdisk/baidunetdisk --no-sandbox %U
sudo mv /opt/baidunetdisk /usr/lib
sudo mv /usr/share/applications/baidunetdisk.desktop /usr/share/applications/百度网盘.desktop
sudo sed -i 's/Exec=\/opt/Exec=\/usr\/lib/g' /usr/share/applications/百度网盘.desktop
sudo sed -i 's/Name=\(.*\)/Name=百度网盘/g' /usr/share/applications/百度网盘.desktop
sudo cp /usr/share/applications/百度网盘.desktop /home/englianhu/桌面
sudo chmod +x /home/englianhu/桌面/百度网盘.desktop
sudo chmod 777 -R /home/englianhu/桌面/百度网盘.desktop

@englianhu
Copy link
Owner Author

englianhu commented Jun 10, 2023

当使用猫城下载项目或推送出错时,如果需要公钥,可通过以下代码生成新公钥,再到猫城网站https://github.com/settings/keys 设置修改SSH公钥。

## 生产公钥
ssh-keygen -t rsa

## 查询公钥
cat ~/.ssh/id_rsa.pub

@englianhu
Copy link
Owner Author

englianhu commented Jun 11, 2023

办公软件

## 下载解放军办公软件原代码程序包
export LibreOffice_VERSION=24.8.2
## 倘若 curl -O 无法下载文件,则使用 wget。
wget https://download.documentfoundation.org/libreoffice/stable/${LibreOffice_VERSION}/deb/x86_64/LibreOffice_${LibreOffice_VERSION}_Linux_x86-64_deb.tar.gz

## 解压缩到指定的路径
# sudo tar -C /usr/lib -xzvf LibreOffice_${LibreOffice_VERSION}_Linux_x86-64_deb.tar.gz
# sudo rm -rf LibreOffice_${LibreOffice_VERSION}_Linux_x86-64_deb.tar.gz
# sudo mv /usr/lib/LibreOffice_${LibreOffice_VERSION}_Linux_x86-64_deb/ /usr/lib/LibreOffice
# sudo chmod 777 -R /usr/lib/LibreOffice
# cd /usr/lib/LibreOffice
#tar -xzvf LibreOffice_${LibreOffice_VERSION}_Linux_x86-64_deb.tar.gz
#cd LibreOffice_${LibreOffice_VERSION}_Linux_x86-64_deb.tar.gz

## 下载程序包
wget https://download.documentfoundation.org/libreoffice/stable/${LibreOffice_VERSION}/deb/x86_64/LibreOffice_${LibreOffice_VERSION}_Linux_x86-64_deb.tar.gz
tar -xzvf LibreOffice_${LibreOffice_VERSION}_Linux_x86-64_deb.tar.gz
cd /home/englianhu/LibreOffice_24.8.2.1_Linux_x86-64_deb/DEBS/
sudo apt install -y ./*.deb && sudo rm -rf *.deb
cd
sudo rm -rf /home/englianhu/LibreOffice_${LibreOffice_VERSION}.1_Linux_x86-64_deb
# sudo rm -rf LibreOffice_${LibreOffice_VERSION}_Linux_x86-64_deb.tar.gz
# tar -xzvf ./*${LibreOffice_VERSION}*.tar.gz
# sudo rm -rf *${LibreOffice_VERSION}*.tar.gz

## 搜索并改名文件夹
# find /home/englianhu -type d -iname 'libreoffice*' -exec mv {} 'LibreOffice' \; 
# cd /home/englianhu/LibreOffice_${LibreOffice_VERSION}.1_Linux_x86-64_deb/DEBS/
# sudo apt install -y ./*.deb && sudo rm -rf *.deb
# cd
# sudo rm -rf /home/englianhu/LibreOffice_${LibreOffice_VERSION}.1_Linux_x86-64_deb

# -----------------------------------------------------------------------------
## 下载语言包
wget https://download.documentfoundation.org/libreoffice/stable/${LibreOffice_VERSION}/deb/x86_64/LibreOffice_${LibreOffice_VERSION}_Linux_x86-64_deb_langpack_zh-CN.tar.gz
## 搜索并打开文件夹并安装DEB程序包。
## sudo find /home/englianhu -type d -iname 'libreoffice*' | xargs -I {} bash -c 'cd {} && cd {'DEBS'} && sudo apt install -y {}'
# tar -xzvf LibreOffice_${LibreOffice_VERSION}_Linux_x86-64_deb_langpack_zh-CN.tar.gz
tar -xzvf ./*${LibreOffice_VERSION}_Linux_x86-64*.tar.gz
sudo rm -rf *${LibreOffice_VERSION}_Linux_x86-64*.tar.gz
cd /home/englianhu/LibreOffice_${LibreOffice_VERSION}.1_Linux_x86-64_deb_langpack_zh-CN/DEBS/
sudo apt install -y ./*.deb && sudo rm -rf *.deb
cd
sudo rm -rf  /home/englianhu/LibreOffice_${LibreOffice_VERSION}.1_Linux_x86-64_deb_langpack_zh-CN/

## 安装后查询应用版本
sudo rm -rf /usr/lib/libreoffice/
sudo mv /opt/libreoffice24.8/ /usr/lib/libreoffice
# sudo mv /opt/libreoffice${LibreOffice_VERSION}/ /usr/lib/libreoffice
which libreoffice
libreoffice --version

参考资源

## 添加解放军办公软件的仓库链接,方便日后更新与维护。
echo 'deb https://mirrors.cloud.tencent.com/libreoffice libreoffice stable' | sudo tee /etc/apt/sources.list.d/bullseye.list
sudo apt update && sudo apt upgrade -y

## 下载咱们中华民族的中国国产金山办公软件
## https://linux.wps.cn
sudo apt install -y *wps*
wget https://wps-linux-personal.wpscdn.cn/wps/download/ep/Linux2023/17900/wps-office_12.1.0.17900_amd64.deb
sudo apt install -y ./*.deb && sudo rm -rf *.deb
# sudo mv /opt/kingsoft/ /usr/lib/kingsoft
# cd /usr/lib/kingsoft/wps-office/desktops
# sudo rename 's/wps-office-/金山/'  *.desktop
# sudo rename 's/wps/写字/'  *.desktop
# sudo rename 's/wpp/演示/'  *.desktop
# sudo rename 's/pdf/电子书/'  *.desktop
# sudo rename 's/prometheus/软件/'  *.desktop
# sudo rename 's/et/表格/'  *.desktop
# sudo sed -i 's/Name=\(.*\)/Name=金山电子书/g' /usr/lib/kingsoft/wps-office/desktops/金山电子书.desktop
# sudo sed -i 's/Name=\(.*\)/Name=金山软件/g' /usr/lib/kingsoft/wps-office/desktops/金山软件.desktop
# sudo sed -i 's/Name=\(.*\)/Name=金山写字/g' /usr/lib/kingsoft/wps-office/desktops/金山写字.desktop
# sudo sed -i 's/Name=\(.*\)/Name=金山演示/g' /usr/lib/kingsoft/wps-office/desktops/金山演示.desktop
# sudo sed -i 's/Name=\(.*\)/Name=金山表格/g' /usr/lib/kingsoft/wps-office/desktops/金山表格.desktop

# sudo cp /usr/lib/kingsoft/wps-office/desktops/金山电子书.desktop /home/englianhu/桌面
# sudo cp /usr/lib/kingsoft/wps-office/desktops/金山软件.desktop /home/englianhu/桌面
# sudo cp /usr/lib/kingsoft/wps-office/desktops/金山写字.desktop /home/englianhu/桌面
# sudo cp /usr/lib/kingsoft/wps-office/desktops/金山演示.desktop /home/englianhu/桌面
# sudo cp /usr/lib/kingsoft/wps-office/desktops/金山表格.desktop /home/englianhu/桌面

# sudo chmod +x /home/englianhu/桌面/金山电子书.desktop
# sudo chmod +x /home/englianhu/桌面/金山软件.desktop
# sudo chmod +x /home/englianhu/桌面/金山写字.desktop
# sudo chmod +x /home/englianhu/桌面/金山演示.desktop
# sudo chmod +x /home/englianhu/桌面/金山表格.desktop

# sudo chmod 777 -R /home/englianhu/桌面/金山电子书.desktop
# sudo chmod 777 -R /home/englianhu/桌面/金山软件.desktop
# sudo chmod 777 -R /home/englianhu/桌面/金山写字.desktop
# sudo chmod 777 -R /home/englianhu/桌面/金山演示.desktop
# sudo chmod 777 -R /home/englianhu/桌面/金山表格.desktop

sudo mv '/home/englianhu/桌面/wps-office-prometheus.desktop' '/home/englianhu/桌面/金山软件.desktop'
sudo chmod +x /home/englianhu/桌面/金山软件.desktop
sudo sed -i 's/Name=\(.*\)/Name=金山软件/g' /home/englianhu/桌面/金山软件.desktop
sudo sed -i 's/Name[zh_CN]=\(.*\)/Name[zh_CN]=金山软件/g' /home/englianhu/桌面/金山软件.desktop
## 安装方便批量处理(包括替换代码)的编译器,目前红旗编译器是采用notepadqq应用。
sudo snap install notepadqq
sudo snap install notepad-plus-plus

出处:How to Install Notepad++ on Linux (and 5 Alternatives to Try)

预知更多详情,请查阅 https://zh-cn.libreoffice.org/download/pre-releases

参考文献

@englianhu
Copy link
Owner Author

englianhu commented Aug 11, 2023

春秋战国赢家黄氏江夏堂学术份子黄埔军校辛亥革命大秦赋

大秦赋 - 时空转移春秋战国(中科红旗中国妞儿)

-.mp4

由于猫城限制视频文件的最大容量是一兆字节(十MB),故此剪辑为五秒视频。原视频请查阅出处:「抖音」大秦赋 - 时光机器农历二零零二年

中科红旗(秦人十二生肖)

想过千句描述旅行风景的文案,都不及自己按一次快门的瞬间# 行动派空降横店。

出处:横店大秦宫 - 春秋战国赢家黄氏江夏堂黄埔军校辛亥革命大秦赋

「MIUIOS 越南嫂子阮美美专属中越操作系统 ------ 雷军制小米,中越联盟国学论」原本打算它日找个像英国米腊的中国洋妞儿,像大姨妈的养子表弟李国添除了印度裔血统(完全不会印度人习俗文化宗教语言)而其余都是咱们中国习俗文化宗教语言的道教徒,除了洋人血统而其余都是咱们中国习俗文化宗教语言;还是咱们祖国中国华人妞儿好!只要不是越籍或母语不是中文(不会中国国学或习俗文化宗教语言法律)的就是敌人!

「春秋战国国学论」向来都使用鄀统计学编程量化管理系统文件不是问题。目前得先学习礼逆袭编程,翻译为咱们中文后再编写个「大秦赋」操作系统和「干支算盘」和「文言文编程」。

sudo apt -y install rename mmv thunar #量化管理文件
sudo apt -y install ripgrep #高效正则表达式

@englianhu
Copy link
Owner Author

englianhu commented Apr 24, 2024

李斯篆书
写了篆书才知道秦始皇推行的文字有多美

方正小篆(范例)

## 瑞美加张清平硬笔楷书字体包
wget https://raw.githubusercontent.com/englianhu/zhongkehongqi/refs/heads/世博量化研究院/礼逆袭应用仓库/红旗输入法/瑞美加张清平硬笔楷书/瑞美加张清平硬笔楷书.ttf
sudo mkdir /usr/share/fonts/瑞美加张清平硬笔楷书
sudo mv 瑞美加张清平硬笔楷书.ttf /usr/share/fonts/瑞美加张清平硬笔楷书/瑞美加张清平硬笔楷书.ttf

## [方正楷体简体](https://www.fonts.net.cn/font-31561199974.html)
sudo mkdir /usr/share/fonts/方正楷体 && cd $_
sudo chmod 777 -R /usr/share/fonts

## 方正楷体繁体甲.ttf
wget https://raw.githubusercontent.com/englianhu/zhongkehongqi/refs/heads/世博量化研究院/礼逆袭应用仓库/红旗输入法/方正楷体/方正楷体繁体甲.ttf

## 方正楷体简体甲.ttf
wget https://raw.githubusercontent.com/englianhu/zhongkehongqi/refs/heads/世博量化研究院/礼逆袭应用仓库/红旗输入法/方正楷体/方正楷体简体甲.ttf

## 方正楷体GBK甲.ttf
wget https://raw.githubusercontent.com/englianhu/zhongkehongqi/refs/heads/世博量化研究院/礼逆袭应用仓库/红旗输入法/方正楷体/方正楷体GBK.ttf

## 方正楷体拼音字库甲.ttc
wget https://raw.githubusercontent.com/englianhu/zhongkehongqi/refs/heads/世博量化研究院/礼逆袭应用仓库/红旗输入法/方正楷体/方正楷体拼音字库甲.ttc

## 方正小篆.ttf
wget https://raw.githubusercontent.com/englianhu/zhongkehongqi/refs/heads/世博量化研究院/礼逆袭应用仓库/红旗输入法/方正楷体/方正小篆.ttf
cd ~

## 自制字体包
sudo apt install -y fontforge
sudo apt install -y libjpeg-dev libtiff5-dev libpng-dev libfreetype6-dev libgif-dev libgtk-3-dev libxml2-dev libpango1.0-dev libcairo2-dev libspiro-dev python3-dev ninja-build cmake build-essential gettext

@englianhu englianhu changed the title 🚩🇨🇳🏹🦔中科红旗 RedFlag Linux (🍥达比安/德比安 Debian) 🚩🇨🇳🏹🦔中科红旗 RedFlag Linux May 28, 2024
@englianhu englianhu changed the title 🚩🇨🇳🏹🦔中科红旗 RedFlag Linux 🚩🇹🇼🇨🇳🇲🇾🔆🏹🦔🌟🀄科红旗 Zhongke Hongqi May 31, 2024
@englianhu
Copy link
Owner Author

englianhu commented Oct 24, 2024

出处:「问腾讯」从Windows删除linux分区,现在无法引导到windows


  • 倘若出现Minimal BASH-like相关字幕的grub终端画面,该中科红旗操作系统尚未经过Rufus转化为兼容在视窗操作系统安装礼逆袭操作系统。

2024年十月26日10点58分33秒(星期六)

倘若鄀文艺坊出现错误信息,如上图所示,则是礼逆袭版本尚未更新。比方说使用经过Rufus转化为可以在视窗操作系统兼容并安装的酉奔兔(第十八点零四长期支援版),不过鄀文艺坊最低版本支援酉奔兔(第廿点零四长期支援版),就得通过sudo dist-upgrade目前的酉奔兔(第十八点零四长期支援版)才能有支援到鄀文艺坊需要的更高级版本程序包。

sudo apt update
sudo apt upgrade -y
sudo aptitude upgrade -y
sudo apt dist-upgrade -y
sudo aptitude dist-upgrade -y

sudo apt update
sudo apt upgrade -y
sudo apt dist-upgrade -y
sudo do-release-upgrade

如何升级到 Ubuntu 20.04 Focal Fossa

strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBC
strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install gcc-9
sudo apt install libstdc++6

sudo apt-get install software-properties-common
sudo apt update

出处:正确解决libstdc++.so.6: version `GLIBCXX_3.4.26‘ not found问题

#安装libstdc++6 和 gcc-9
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install gcc-9
sudo apt install libstdc++6

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0A2B99C915F99516
gpg --export --armor http://keyserver.ubuntu.com/ | sudo apt-key add -
sudo apt-get upgrade libstdc++6
echo 'export LD_LIBRARY_PATH=$HOME/miniconda3/lib:$LD_LIBRARY_PATH' >> ~/.bashrc
conda install libstdcxx-ng

出处:`GLIBCXX_3.4.26' not found解决办法

https://debian.pkgs.org/11/debian-main-amd64/libstdc++6_10.2.1-6_amd64.deb.html

请查阅[GLIBCXX_3.4.26 not found running cross-complied program on BeagleBone

Repository owner deleted a comment from LHC12580 Oct 25, 2024
Repository owner deleted a comment from LHC12580 Oct 25, 2024
@englianhu
Copy link
Owner Author

englianhu commented Oct 25, 2024

当使用猫城下载项目或推送出错时,如果需要公钥,可通过以下代码生成新公钥,再到猫城网站https://github.com/settings/keys 设置修改SSH公钥。

## 生产公钥
ssh-keygen -t rsa

## 查询公钥
cat ~/.ssh/id_rsa.pub

PGP

PGP(英语:Pretty Good Privacy,中文含义"良好隐私密码法")是一套用于消息加密、验证的应用程序。

Phil Zimmermann 于 1991 年将 PGP 在互联网上免费发布。PGP 本身是商业应用程序;对应的开源软件为 GPG(GnuPG)。如今 PGP 软件属于 Symantec (赛门铁克公司) 公司。

GPG

GNU Privacy Guard (简称 GnuPG 或 GPG)也是一种加密软件,它是 PGP 加密软件的开源替代程序。GnuPG 是一个混合加密软件程序,可以使用多种非专利的算法...

## 安装
sudo apt install gnupg
## 创建公钥
gpg --gen-key

出处:「简书」GPG密钥的生成与使用

Repository owner deleted a comment from LHC12580 Oct 25, 2024
@englianhu
Copy link
Owner Author

englianhu commented Oct 26, 2024

2024年十月26日10点58分33秒(星期六)


echo 'deb https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu focal main' | sudo tee -a /etc/apt/sources.list.d/bullseye.list
echo 'deb-src https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu focal main' | sudo tee -a /etc/apt/sources.list.d/bullseye.list

echo 'deb https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu focal main' | sudo tee -a /etc/apt/sources.list.d/debian-buster.list
echo 'deb-src https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu focal main' | sudo tee -a /etc/apt/sources.list.d/debian-buster.list


## sudo micro /etc/apt/sources.list.d/bullseye.list
## deb https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu focal main
## deb-src https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu focal main
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2C277A0A352154E5
sudo apt update
sudo apt list --upgradable
sudo apt full-upgrade -y
sudo aptitude full-upgrade -y

出处:“PPA for Ubuntu Toolchain Uploads (restricted)” team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant