aptitude

Ubuntu关于build-essential

£可爱£侵袭症+ 提交于 2019-12-04 12:01:02
Ubuntu缺省情况下,并没有提供C/C++的编译环境,因此还需要手动安装。 如果单独安装gcc以及g 比较麻烦,幸运的是,为了能够编译Ubuntu的内核,Ubuntu提供了一个build-essential软件包。 命令:apt-get install build-essential 或者 aptitude install build-essential 其中aptitude是基于apt系列的命令。而由于aptitude是apt系列命令的高层封装,因此apt-get使用上比较方便,对于可能的软件包冲突等事件可以更好的处理。 来源: CSDN 作者: 肖承星 链接: https://blog.csdn.net/qq_29806067/article/details/49423815

What is the equivalent of “aptitude” in Mac OSX?

大兔子大兔子 提交于 2019-12-04 08:57:47
问题 How to do "sudo apt-get install " on OSX? 回答1: There isn't an equivalent out of the box. You may want to take a look at MacPorts: MacPorts, formerly called DarwinPorts, is a package management system that simplifies the installation of software on the Mac OS X and Darwin operating systems. It is a free/open source software project to simplify installation of other free/open source software. Similar in aim and function to Fink and the BSDs' ports collections, DarwinPorts was started in 2002 as

Ubuntu查看程序安装记录

谁说胖子不能爱 提交于 2019-12-04 07:07:39
如果新装一个程序,突然发现需要卸载,又忘记了程序名字,怎么解决呢? /var/log/apt/history.log /var/log/apt/term.log /var/log/aptitude 看看这几个文件,里面应该有你需要的。 附录: 1.查看安装的所有软件 dpkg -l dpkg -l | grep ftp #例子 2.查看软件安装的路径 dpkg -L | grep ftp #方法一 whereis ftp #方法二 3.查看软件版本 aptitude show aptitude show ftp #例子 参考资料: 1. https://zhidao.baidu.com/question/139384578659355285.html 2. https://blog.csdn.net/qq_25615395/article/details/78561759 来源: https://www.cnblogs.com/letisl/p/11845747.html

使用aptitude安装软件

不打扰是莪最后的温柔 提交于 2019-12-04 06:20:44
linux的版本依赖问题很令人纠结,不过我们可以通过使用aptitude软件包管理器来解决这个依赖问题,aptitude是可以选择合适的版本与匹配软件安装。 来源: https://www.cnblogs.com/wayne666/p/11837262.html

Shell脚本编程

本秂侑毒 提交于 2019-12-04 04:43:09
一、基本 bash shell命令 创建文件 : touch 链接文件:符号链接:是一个实实在在的文件,两个通过符号链接在一起的文件,彼此的内容并不相同。使用ln -s命令。 硬链接:会创建独立的虚拟文件,其中包含了原始文件的信息及位置。但他们从根本上而言是同一个文件。原始文件必须事先存在,使用ln命令。 查看文件类型 : file 查看整个文件 : cat , more , less 查看部分文件 : tail , head 二、更多shell命令 探查进程 : ps , 常用 ps -ef , ps -l 实时监测进程 : top。第一部分显示系统的概况:第一行显示当前时间、系统运行时间、登录的用户数以及系统的平均负载(三个值代表最近1min、5min、15min)如果近15min内的平均负载都很高,说明系统可能有问题。 第二行显示了进程概要信息:有多少进程处在运行、休眠、停止或是僵化状态 下一行显示了CPU的概要信息。 紧跟其后的两行说明了系统内存的状态。第一行是系统的物理内存:总共多少内存,当前用了多少,还有多少。后一行表示同样的信息,不过针对系统交换空间。 最后一行显示当前运行中的进程纤细列表。 PID:进程ID; USER:进程属主名字; PR:进程优先级; NI:进程的谦让值; VIRT:进程占用的虚拟内存总量; RES:进程占用物理内存总量; SHR

zipalign: error while loading shared libraries: libc++.so: cannot open shared object file: No such file or directory

雨燕双飞 提交于 2019-12-03 21:49:33
I am trying to build android app. When I run the zip align tool to optimize the APK, I get this error message: zipalign: error while loading shared libraries: libc++.so: cannot open shared object file: No such file or directory I tried to install libc++ sudo aptitude install libc++ it says: Couldn't find package "libc+". Snapshot of my terminal If your system is 64-bits, there should be a folder lib64 on the path of [android-path]/build-tools/[version]/ The files in lib64 are [ec2-user 25.0.2]$ ll lib64/ total 51628 -rwxrwxrwx 1 ec2-user ec2-user 30712616 Dec 23 07:22 libLLVM.so -rwxrwxrwx 1

Multiple package manager [closed]

*爱你&永不变心* 提交于 2019-12-03 07:26:16
Is there a pitfall of using multiple package managers? Could I use Redhat's yum with Debian's aptitude at the same time? I came across this article and this infographic - I was inclined to choose Debian, but a quick VM install showed that the Kernel is not upgraded to 3.2 in the stable repo yet. So I am planning to move to Archlinux, but the infographic rates it low on package availablity and I was wondering if I could install .deb or .rpm files from the Fedora or Ubuntu repositories. The short answer is, yes you can , but you really shouldn't . Below is a list of things (in no particular

Linux shell

我的未来我决定 提交于 2019-12-03 06:29:06
// 在桌面菜单(.....)管理出右键 得到桌面设置对话框 //chmod + x ...py 赋予权限 //验证 ssh // /etc/init.d/ssh status // vi /etc/ssh/sshd_config 服务配置 // /etc/init.d/networking restart 重启网络 //安装cmake //wget https://github.com/Kitware/CMake/releases/download/v3.15.0-rc3/cmake-3.15.0-rc3-Linux-x86_64.sh 参考链接:https://jingyan.baidu.com/article/3c343ff7e366820d3679637f.html 重置完之后发现网络适配器显示未托管。 解决办法: leafpad /etc/NetworkManager/NetworkManager.conf 把最后一行的managed=false改为managed=true。 保存重启即可。 // 安装谷歌 // wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb // dpkg -i google-chrome-stable_current_amd64.deb //

error: --with-readline=yes (default) and headers/libs are not available

匿名 (未验证) 提交于 2019-12-03 02:45:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am installing R. I am getting this error when runing ./configure : checking for history_truncate_file... no configure: error: --with-readline=yes (default) and headers/libs are not available Any hint, Thanks 回答1: Use the following command will solve this problem ./configure --with-readline=no --with-x=no --with-x=no turns off the X Windows System . It is the GUI for the Linux and Unix-like OS. My computer has no X Windows installed, so I turn off. But I highly recommand to install readline library before R installtion with '--with-readline

What is the equivalent of “aptitude” in Mac OSX?

試著忘記壹切 提交于 2019-12-03 02:36:36
How to do "sudo apt-get install " on OSX? There isn't an equivalent out of the box. You may want to take a look at MacPorts: MacPorts, formerly called DarwinPorts, is a package management system that simplifies the installation of software on the Mac OS X and Darwin operating systems. It is a free/open source software project to simplify installation of other free/open source software. Similar in aim and function to Fink and the BSDs' ports collections, DarwinPorts was started in 2002 as part of the OpenDarwin project, with the involvement of a number of Apple Inc. employees including Landon