apt-get

Getting apt-get on an alpine container

妖精的绣舞 提交于 2019-12-10 13:25:50
问题 I have to install a few dependencies on my docker container, I want to use python:3.6-alpine version to have it as light as possible, but apk package manager which comes with alpine is giving me trouble so I would like to get the apt-get package manager. I tried: apk add apt-get and it didnt work. how can I get it on the container? 回答1: Using multiple package systems is usually a very bad idea, for many reasons. Packages are likely to collide and break and you'll end up with much greater mess

Debian httpredir mirror system unreliable/unusable in Docker?

心不动则不痛 提交于 2019-12-10 13:08:17
问题 Short Version Debian's httpredir.debian.org mirror service causes my Docker builds to fail very frequently because apt-get can't download a package or connect to a server or things like that. Am I the only one having this problem? Is the problem mine, Debian's, or Docker's? Is there anything I can do about it? Long Version I have several Dockerfiles built on debian:jessie , and Debian by default uses the httpredir.debian.org service to find the best mirror when using apt-get, etc. Several

ubuntu安装python3.5+pycharm+anaconda+opencv+docker+nvidia-docker+tensorflow+pytorch+Cmake3.8

风格不统一 提交于 2019-12-10 11:30:53
一,切换python版本为3.5 装好ubuntu,python版本是2.7的 我自己安装并更改打开为python3.5 sudo apt-get install python3.5 设置优先级和默认环境: sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 100 sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 150 切换版本: update-alternatives --config python 可看见python已经为3.5了。 二,安装pycharm: pycharm官网 https://www.jetbrains.com/pycharm/download/#section=linux 下载了这个,然后解压 启动pycharm, 下面激活: 添加下面一行到hosts文件,目的是屏蔽掉Pycharm对激活码的验证 0.0.0.0 account.jetbrains.com 打开PyCharm,选择Activate code(用激活码激活) 激活网址: http://idea.lanyus.com/ 复制下载激活码,填入激活码框。 K6IXATEF43

knowrob安装记录

▼魔方 西西 提交于 2019-12-10 11:22:15
写在前面 前几天尝试编译knowrob项目,中途遇到很多问题,最后仍未成功编译。不过还是想把遇到的问题晒出来,希望能或多或少帮助到其他小伙伴。当然,如果有人编过了,也劳烦指点一下我,哈哈~ 创建catkin工作空间: $ mkdir -p ~/catkin_ws/src $ cd ~/catkin_ws/ $ catkin_make 执行完catkin_make指令后,会在src下创建一个CMakeLists.txt文件,在catkin_ws下创建两个子文件夹:build和devel。在devel下会有一些setup.*sh文件,source任一文件可将ROS_PACKAGE_PATH 环境变量覆盖到当前工作空间。 按照knowrob安装提示,进行安装 $ rosdep update $ cd ~/catkin_ws/src wstool这个工具依赖.rosinstall,直接wstool merge会报出没有.rosinstall文件的错误。这里参考网上,先在没有rosinstall文件的情况下初始化工作区,再merge。 $ wstool init src $ wstool merge https://raw.github.com/knowrob/knowrob/master/rosinstall/knowrob-base.rosinstall $ wstool update

E: Cannot get debconf version. Is debconf installed?

别来无恙 提交于 2019-12-10 11:14:29
问题 I was run Debian on QEMU with ARMv8 arch. root@debian:/home/kennedy# apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following extra packages will be installed: libgcc1 The following NEW packages will be installed: libgcc1 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed. Need to get 0 B/31.3 kB of archives. After this operation, 114 kB of additional

ubuntu 联想e430 无线没驱动

泄露秘密 提交于 2019-12-10 09:26:13
看官网,英文太烂。。。 https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx#b43 - Internet access wl - Proprietary Broadcom STA Wireless driver () Install either bcmwl-kernel-source (instructions below) OR the broadcom-sta (instructions at http://wiki.debian.org/wl ) packages. 1. 到上面这行的网站安装什么核心文件,点进去 2. Update the list of available packages. Install the relevant linux-headers and broadcom-sta-dkms packages: sudo apt-get update sudo apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms 3. Unload conflicting modules: sudo modprobe -r b44 b43 b43legacy ssb brcmsmac 4. Load

在Ubuntu下rtorrent编译安装笔记

丶灬走出姿态 提交于 2019-12-10 08:08:52
rtorrent是一个Bittorrent软件,基于终端的BT客户端,高性能、低资源,另外有不少人给rtorrent开发了Web GUI来更好的让用户控制管理rtorrent,总而言之在Linux平台下,rtorrent是一个不错的BT下载解决方案。   rtorrent是一个Bittorrent软件,基于终端的BT客户端,高性能、低资源,另外有不少人给rtorrent开发了Web GUI来更好的让用户控制管理rtorrent,总而言之在Linux平台下,rtorrent是一个不错的BT下载解决方案。   rtorrent已被添加进Ubuntu源中,在Ubuntu下安装rtorrent非常容易,一句话即可安装:   $sudo apt-get install rtorrent   但是这里要写的是编译安装rtorrent的笔记记录,在这个编译安装过程中可以学习到一些关于编译安装源码的简单经验。在这里所用到的是全新安装的Ubuntu 8.10,以此为例来进行编译安装的学习。   首先在rtorrent官方Wiki中的Install条目中给出了安装步骤:   cd /home/rtorrent   svn co svn://rakshasa.no/libtorrent/trunk   cd /home/rtorrent/trunk   svn up   cd libtorrent   

ubuntu下安装rar解压和多线程下载工具axel工具

会有一股神秘感。 提交于 2019-12-10 07:34:08
一般通过默认安装的ubuntu是不能解压rar文件的,只有在安装了rar解压工具之后,才可以解压。其实在ubuntu下安装rar解压工具是非常简单的,只需要两个步骤就可以迅速搞定。 ubuntu下rar解压工具安装方法: 压缩功能 安装 sudo apt-get install rar 卸载 sudo apt-get remove rar 解压功能 安装 sudo apt-get install unrar 卸载 sudo apt-get remove unrar 多线程下载工具axel在终端的安装:sudo apt-get install axel 使用方法:axel 文件下载地址 来源: oschina 链接: https://my.oschina.net/u/136768/blog/33236

ubuntu解压命令全览(rar)

和自甴很熟 提交于 2019-12-10 07:20:38
Ubuntu下解压rar文件的方法 2010-05-13 12:47 一般通过默认安装的ubuntu是不能解压rar文件的,只有在安装了rar解压工具之后,才可以解压。其实在ubuntu下安装rar解压工具是非常简单的,只需要两个步骤就可以迅速搞定。 ubuntu 下rar解压工具安装方法: 压缩功能 安装 sudo apt-get install rar 卸载 sudo apt-get remove rar 解压功能 安装 sudo apt-get install unrar 卸载 sudo apt-get remove unrar ubuntu解压命令全览 .tar 解包:tar xvf FileName.tar 打包:tar cvf FileName.tar DirName 注:tar是打包,不是压缩! ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~ .gz 解压1:gunzip FileName.gz 解压2:gzip -d FileName.gz 压缩:gzip FileName ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~ .tar.gz 和 .tgz 解压:tar zxvf FileName.tar.gz 压缩:tar

Ubuntu16.4传数据到服务器

拜拜、爱过 提交于 2019-12-10 05:41:55
数据集较大(400G左右),并且需要远程服务器的GPU,需要传数据到远程 系统为Ubuntu16.4 一. 连接远程Ubuntu服务器。(转载自 https://blog.csdn.net/u013250416/article/details/78075590 )(这篇博客第二步有问题,本文已经修改) 1. 打开命令行,输入 : sudo apt-get update , 对系统进行更新。 2. 安装 OpenSSH Server,输入 : sudo apt-get install openssh-server 3. 确认 SSH Server 是否启动, 输入: sudo ps -e |grep ssh。如果正确启动, 命令行中会显示sshd。如图所示: 4. 安装Putty, 输入: sudo apt-get install putty 。 其中,Putty是一款远程登录工具,用它可以非常方便的登录到Linux服务器上进行各种操作(命令行的方式) 5. 使用Putty 连接到远程服务器, 输入: sudo putty 。 会弹出一个登录页面。 如图所示: 在 Host Name 中, 填入要连接的服务器的ip地址。 再点击Open, 就可以连接服务器啦。 6. 测试服务器能否正常使用。如输入python. >> print 'hello' 二. 传输文件 在这里