首页 > 系统相关 >Linux使用记录

Linux使用记录

时间:2022-10-14 11:15:45浏览次数:53  
标签:Linux ... git http amd64 记录 ubuntu bionic 使用

1.安装git

yhexie@Y430P:~$ add-apt-repository ppa:git-core/ppa
错误: 必须使用 root 身份运行
yhexie@Y430P:~$ sudo passwd
[sudo] yhexie 的密码: 
输入新的 UNIX 密码: 
重新输入新的 UNIX 密码: 
passwd:已成功更新密码
yhexie@Y430P:~$ su
密码: 
root@Y430P:/home/yhexie# add-apt-repository ppa:git-core/ppa

 The most current stable version of Git for Ubuntu.

For release candidates, go to https://launchpad.net/~git-core/+archive/candidate .
 更多信息: https://launchpad.net/~git-core/+archive/ubuntu/ppa
按 [ENTER] 继续或 Ctrl-c 取消安装。
命中:1 http://cn.archive.ubuntu.com/ubuntu bionic InRelease                    
获取:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]   
获取:3 http://cn.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]  
获取:4 http://ppa.launchpad.net/git-core/ppa/ubuntu bionic InRelease [20.8 kB] 
获取:5 http://cn.archive.ubuntu.com/ubuntu bionic-backports InRelease [83.3 kB]
获取:6 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [55.3 kB]
获取:7 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [297 kB]
获取:8 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [61.0 kB]
获取:9 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,468 B]
获取:10 http://ppa.launchpad.net/git-core/ppa/ubuntu bionic/main i386 Packages [4,236 B]
获取:11 http://cn.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [302 kB]
获取:12 http://cn.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
获取:13 http://cn.archive.ubuntu.com/ubuntu bionic-backports/main amd64 DEP-11 Metadata [8,108 B]
获取:14 http://cn.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [10.1 kB]
获取:15 http://ppa.launchpad.net/git-core/ppa/ubuntu bionic/main amd64 Packages [4,236 B]
获取:16 http://ppa.launchpad.net/git-core/ppa/ubuntu bionic/main Translation-en [2,252 B]
已下载 1,031 kB,耗时 4秒 (263 kB/s)         
正在读取软件包列表... 完成
root@Y430P:/home/yhexie# apt update; apt install git
命中:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
命中:2 http://cn.archive.ubuntu.com/ubuntu bionic InRelease            
命中:3 http://ppa.launchpad.net/git-core/ppa/ubuntu bionic InRelease   
命中:4 http://cn.archive.ubuntu.com/ubuntu bionic-updates InRelease
命中:5 http://cn.archive.ubuntu.com/ubuntu bionic-backports InRelease
正在读取软件包列表... 完成   
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
所有软件包均为最新。
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
将会同时安装下列软件:
  git-man liberror-perl libpcre2-8-0
建议安装:
  git-daemon-run | git-daemon-sysvinit git-doc git-email git-gui gitk gitweb
  git-cvs git-mediawiki git-svn
下列【新】软件包将被安装:
  git git-man liberror-perl libpcre2-8-0
升级了 0 个软件包,新安装了 4 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
需要下载 9,346 kB 的归档。
解压缩后会消耗 47.7 MB 的额外空间。
您希望继续执行吗? [Y/n] Y
获取:1 http://cn.archive.ubuntu.com/ubuntu bionic/universe amd64 libpcre2-8-0 amd64 10.31-2 [179 kB]
获取:2 http://ppa.launchpad.net/git-core/ppa/ubuntu bionic/main amd64 git-man all 1:2.38.0-0ppa1~ubuntu18.04.1 [2,062 kB]
获取:3 http://cn.archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB]
获取:4 http://ppa.launchpad.net/git-core/ppa/ubuntu bionic/main amd64 git amd64 1:2.38.0-0ppa1~ubuntu18.04.1 [7,082 kB]
已下载 9,346 kB,耗时 23秒 (406 kB/s)                                          
正在选中未选择的软件包 libpcre2-8-0:amd64。
(正在读取数据库 ... 系统当前共安装有 173854 个文件和目录。)
正准备解包 .../libpcre2-8-0_10.31-2_amd64.deb  ...
正在解包 libpcre2-8-0:amd64 (10.31-2) ...
正在选中未选择的软件包 liberror-perl。
正准备解包 .../liberror-perl_0.17025-1_all.deb  ...
正在解包 liberror-perl (0.17025-1) ...
正在选中未选择的软件包 git-man。
正准备解包 .../git-man_1%3a2.38.0-0ppa1~ubuntu18.04.1_all.deb  ...
正在解包 git-man (1:2.38.0-0ppa1~ubuntu18.04.1) ...
正在选中未选择的软件包 git。
正准备解包 .../git_1%3a2.38.0-0ppa1~ubuntu18.04.1_amd64.deb  ...
正在解包 git (1:2.38.0-0ppa1~ubuntu18.04.1) ...
正在设置 git-man (1:2.38.0-0ppa1~ubuntu18.04.1) ...
正在设置 liberror-perl (0.17025-1) ...
正在设置 libpcre2-8-0:amd64 (10.31-2) ...
正在设置 git (1:2.38.0-0ppa1~ubuntu18.04.1) ...
正在处理用于 man-db (2.8.3-2ubuntu0.1) 的触发器 ...
正在处理用于 libc-bin (2.27-3ubuntu1.6) 的触发器 ...

 

标签:Linux,...,git,http,amd64,记录,ubuntu,bionic,使用
From: https://www.cnblogs.com/yhlx125/p/16790942.html

相关文章

  • Git 使用记录
    1.建仓:本地克隆云端仓库  gitclone+网址2.新建分支develop  gitcheckout -bdevelop    gticheckout-b Modefiy   要修改的分......
  • Session用法案例 -->实现简单购物车功能(实际项目可能不会这么使用)
    071201709091、session是在cookie的基础之上,利用cookie返回JSESSIONID(key[服务器随机生成])存在客户端实现,正真的数据存在服务端[key-value]。2、se......
  • 全网最全 Linux 命令总结
    今天,给小伙伴们带来一篇Linux命令总结非常全的文章,也是我们平时工作中使用率非常高的操作命令,命令有点多,建议小伙伴们可以先收藏后阅读。基本命令uname-m显示机器的处......
  • 全志 Tina Linux 存储介质切换:eMMC,SPI NAND,SPI NOR,SD Card,SD NAND
    存储切换方法SDK切换存储介质需要修改board.dts、sys_config.fex、内核配置、TINA系统配置。另外,在spinor存储介质下,通过u-boot-sun8iw21p1.bin进行烧录,u-boot-spinor-s......
  • 如何在物联网低代码平台中使用数据字典功能?
    在物联网低代码系统中,一般都会有这么个模块——数据字典。今天就带大家学习下在AIRIOT物联网低代码平台中数据字典模块的用途和具体操作。数据字典定义数据字典用于添......
  • docker desktop url protocl 技术以及使用
    dockerdesktop在登录的使用使用了自定义的url协议,同时基于web进行系统登录,认证完成之后会生成code,之后通过url协议进入使用docker协议定义 <arra......
  • spring boot使用swagger生成api接口文档
    前言在之前的文章中,使用mybatis-plus生成了对应的包,在此基础上,我们针对项目的api接口,添加swagger配置和注解,生成swagger接口文档具体可以查看本站springboot系列文章:s......
  • linux绝对路径和相对路径
    前言在操作系统中,路径指的是文件的存放位置,例如windows中C:\Users\HEAD表HEAD目录的路径。在linux中类似,只是路径的描述方式有区别,例如/home/scg表示scg目录的路径。在任......
  • java阶乘的实现(scanner使用练习)
    publicclasstest{publicstaticvoidmain(String[]args){System.out.println("请输入计算x!的x值");Scannerscanner=newScanner(System.i......
  • linux 安装mysql8.0.11
    1.使用系统的root账户2.切换到/use/local目录下3.下载mysql?wgethttps://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-8.0.21-linux-glibc2.12-x86_64.tar.xz也可以......