首页 \ 问答 \ 怎样在windows7环境下安装ubuntu组成双系统?

怎样在windows7环境下安装ubuntu组成双系统?

怎样在windows7环境下安装ubuntu组成双系统?最近研究安卓系统,需要Linux环境。虚拟机不太好···想安装双系统,不知该怎么做。请求高手解答。
更新时间:2022-03-06 12:03

最满意答案

你没说是系统系统版本的,不同版本之前命令也是不同的。给你红帽系统,也可以用作Centos查看的命令:
命令    作用    
yum repolist all    列出所有仓库。    
yum list all    列出仓库中所有软件包    
yum info 软件包名称    查看软件包信息    
yum install 软件包名称    安装软件包    
yum reinstall 软件包名称    重新安装软件包    
yum update 软件包名称    升级软件包    
yum remove 软件包    移除软件包    
yum clean all    清除所有仓库缓存    
yum check-update    检查可更新的软件包    
yum grouplist    查看系统中已经安装的软件包组    
yum groupinstall 软件包组    安装指定的软件包组    
yum groupremove软件包组    移除指定的软件包组    
yum groupinfo 软件包组    查询指定的软件包组信息    
搜索《linux就该这么学》,第一章节里面的知识点。

其他回答

1、下载ffmpeg。
2、解压缩 tar -zxvf ffmpeg.tar.gz
3、编辑profile文件:

      vi /etc/profile
    在文件末尾加上两句话:
    export ffmpeg_home=/usr/local/ffmpeg 
    export path=$ffmpeg_home/bin:$path
4、配置安装路径之类的:
./configure --enable-shared --prefix=/usr/local/ffmpeg
--enable-shared 参数据说是允许其编译产生动态库,在以后的编程中要用到这个几个动态库。
如果出现异常,提示因为缺少yasm,需要添加参数,再执行以下命令:
./configure --enable-shared --disable-yasm --prefix=/usr/local/ffmpeg
如果执行结果不对,可以根据提示信息,并查看帮助,解决问题
./configure --help
5、编译安装
make
make install
6、安装之后在/usr/local/ffmpeg会看到有三个目录
bin 执行文件目录
lib 静态,动态链接库目录
include 编程用到的头文件
7、为了防止执行程序找不到库文件,
可以将/usr/local/ffmpeg/lib目录设置到ld_library_path环境变量
8、若出现error while loading shared libraries: libavdevice.so.52的错误
修改/etc/ld.so.conf 在最后一行加上/usr/local/ffmpeg/lib
ldconfig -v
并修改 /usr/local/ffmpeg/lib目录下的文件权限为777

相关问答

更多
  • 在终端里面输入。man ffmpeg看参数。 一般我都只使用mencoder
  • 安装了就好了,系统会调用,我之前装别的软件需要解决依赖性而装了这个
  • ls /usr/share 看看有没有ffmpeg 没有的话 ln -s 建一个链接
  • Linux系统下yum命令查看安装了哪些软件包: $yum list installed //列出所有已安装的软件包 yum针对软件包操作常用命令: 1.使用YUM查找软件包 命令:yum search 2.列出所有可安装的软件包 命令:yum list 3.列出所有可更新的软件包 命令:yum list updates 4.列出所有已安装的软件包 命令:yum list installed 5.列出所有已安装但不在 Yum Repository 内的软件包 命令:yum list extras 6.列出所 ...
  • 你没说是系统系统版本的,不同版本之前命令也是不同的。给你红帽系统,也可以用作Centos查看的命令: 命令 作用 yum repolist all 列出所有仓库。 yum list all 列出仓库中所有软件包 yum info 软件包名称 查看软件包信息 yum install 软件包名称 安装软件包 yum reinstall 软件包名称 重新安装软件包 yum update 软件包名称 升级软件包 yum remove 软件包 移除软件包 yum clean all 清除所有仓库缓存 yum chec ...
  • 要是你是默认安装得话,是安装了图形化界面的,只需要vi /etc/inittab 修改id:3:initdefault: 为id:5:initdefault: 把启动方式改变为图形界面启动。 reboot一下机器就能生效。 要是你没有安装图形化界面,就需要使用安装光盘,把安装包找出来安装上去即可。
  • 源码一般是tar.gz格式,通过tar xvzf 解压,默认的会在当前目录下建一个目录,进入这个目录后有两个文件要看:READ,INSTALL,看了这两个文件就可以编译了,make install后,就可以看到软件将被安装到哪儿。 -------- 如果你没有把软件安装在固定目录的习惯,就没办法看到
  • 楼下两位的答案只适用于web服务器监听80端口,且WEB服务已经启动 你可以尝试分别输入 nginx / tomcat / httpd / apache / lighttpd 命令看看,目前linux主要就这几种WEB服务器 或者尝试whereis nginx 或者 ps auxwww | grep nginx 如果是debian /ubuntu 系统,可以通过 dpkg -l | grep nginx ...查询是否已经安装 如果是centos / redhat ..系统 ,可以通过 rpm -qa|gr ...
  • Linux下查看mysql路径 指令 ps -ef|grep mysql 得出结果 root 17659 1 0 2011 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --socket=/var/lib/mysql/mysql.sock --log-error=/var/log/mysqld.log --pid-file=/var/run/mysqld/mysqld.pid mysql 17719 17659 0 2011 ...
  • 这个似乎不是很准确,个人觉得对于二进制文件linux没有什么补丁之类的概念. 所谓的补丁基本上是软件升级一个小版本. 所以也就无从查看.

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)