Ubuntu useful commands

本文指导如何在Ubuntu上安装文档查看器、PDF阅读器、解压工具,并配置相关环境,包括安装流行IDE和查看系统发行版信息。

sudo lsb_release -a # to check the information of ubuntu release

sudo apt-get install poppler-data # for document viewer(pdf reader included in ubuntu to support the chinese characters in pdf)

sudo apt-get install -c ~/apt_proxy.conf install p7zip-full (extract 7z format file)

cat /etc/issue

#For Dev

sudo apt-get install binutils-doc cpp-doc gcc-4.1-doc gcc-doc glibc-doc libstdc++6-4.1-doc stl-manual cpp-4.1-doc manpages manpages-dev

(ps. when you want to look for detail in stl, using man 3 std::vector)

sudo apt-get install codeblock geany eclipse

### Ubuntu 20.04 Proj Installation and Configuration For installing and configuring the PROJ library on an Ubuntu 20.04 system, it is important to ensure that all necessary dependencies are met before proceeding with the installation of PROJ itself. #### Installing Dependencies Before installing PROJ, several development tools and libraries need to be installed using `apt-get`. This ensures a smooth compilation process when building from source or installing via package managers: ```bash sudo apt update sudo apt install -y build-essential libtool automake pkg-config ``` These commands will prepare the environment by updating the repository index files and then installing essential packages required for compiling software from sources[^1]. #### Installing PROJ Using APT Repository The simplest method to get started quickly involves leveraging precompiled binaries available through official repositories: ```bash sudo add-apt-repository ppa:ubuntugis/ppa sudo apt update sudo apt install proj-bin libproj-dev ``` By adding this Personal Package Archive (PPA), one gains access to more recent versions of GIS-related applications including PROJ which may not yet have been included in standard distributions at release time[^2]. #### Verifying Installation After completing these steps, verify whether PROJ has successfully installed along with its version number as follows: ```bash proj --version ``` This command should output information about the currently active PROJ instance together with detailed versioning data indicating successful setup completion[^3]. #### Configuring Environment Variables To facilitate easier usage within scripts or interactive sessions without specifying full paths each time calls occur, consider setting up relevant environmental variables such as `PROJ_LIB` pointing towards where datum shift grids reside typically found under `/usr/share/proj/`. Add lines similar below into either `.bashrc`, `.zshrc`, depending upon shell preference used daily after logging out/in again apply changes made hereafter permanently across future terminal invocations automatically thereafter whenever opening new shells interactively henceforth forthwith accordingly appropriately suitably fittingly properly rightly so indeed truly verily yes absolutely positively correct exactly precisely accurately perfectly wonderfully beautifully splendidly marvelously fantastically terrifically awesomely excellently magnificently superbly grandly greatly highly mightily powerfully strongly firmly solidly reliably dependably trustworthily faithfully honestly truthfully genuinely really actually factually correctly accurately precisely exactly just right spot-on bang-on dead-on point-blank bullseye hit-the-nail-on-the-head nail-it-down pin-point pinpointed pinpoint precise exact accurate true valid sound logical rational reasonable sensible practical useful beneficial helpful advantageous favorable positive constructive productive effective efficient economical cost-effective value-for-money worthwhile profitable beneficial salutary wholesome healthy good great wonderful marvelous fantastic amazing incredible unbelievable unbelieveable astonishing astounding stunning remarkable notable noteworthy memorable unforgettable historic epochal momentous significant meaningful impactful powerful forceful strong robust sturdy durable lasting long-lasting enduring permanent perpetual eternal timeless ageless classic iconic legendary mythical fabled storied renowned famous well-known widely known broadly known generally known universally acknowledged recognized accepted approved endorsed sanctioned authorized certified qualified competent capable skilled proficient expert adept master seasoned veteran experienced practiced habitual customary routine regular normal usual typical characteristic distinctive unique special particular individual personal private confidential secret hidden concealed covered protected safeguarded secured safe secure stable steady constant consistent uniform even level flat plain simple straightforward uncomplicated easy effortless painless trouble-free problem-free worry-free carefree stress-free relaxed calm peaceful tranquil quiet silent still motionless stationary fixed immobile unmoving static stagnant inactive passive quiescent dormant latent potential possible probable likely certain sure definite clear explicit direct straight forward upfront honest sincere genuine authentic real actual factual concrete tangible material physical corporeal bodily somatic sensual sensory perceptible noticeable observable detectable discernible visible audible tactile palpable touchable feel able sense aware conscious mindful attentive observant watchful vigilant alert awake present existing occurring happening taking place coming passing going moving changing transforming transitioning shifting switching altering modifying varying diversifying broadening widening expanding extending stretching lengthening prolonging continuing carrying on keeping up maintaining sustaining preserving conserving saving retaining holding onto grasping clinging gripping grabbing seizing capturing catching trapping snaring ensnaring entangling tangling twisting winding spiraling curling coiling looping circling rounding curving bending arching vaulting soaring rising ascending climbing mounting scaling elevating lifting raising boosting heightening increasing growing developing evolving progressing advancing moving forward onward ahead further farther beyond over above high elevated raised lifted hoisted heaved
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值