栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > .Net

(三)ubuntu拉取launchpad.net的deb文件

.Net 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

(三)ubuntu拉取launchpad.net的deb文件

方法一:


复制图中的的镜像源信息到/etc/apt/sources.list中,然后更新以下,就可以拉取了,命令如下:

sudo apt update
sudo apt install hello
方法二:

1.下载图片中框框内的所有文件(deb文件不需要)到一个目录下

2.使用命令解压可以获得全部源代码,可以用源代码编译或者上传。

jian@ubuntu:~/jian$  ls
hello_1.0-1.debian.tar.xz  hello_1.0-1.dsc  hello_1.0.orig.tar.xz 
jian@ubuntu:~/jian$ dpkg-source -x hello_1.0-1.dsc 
gpgv: Signature made Thu 13 May 2021 04:34:42 PM CST using RSA key ID 287B8C6B
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./hello_1.0-1.dsc
dpkg-source: info: extracting hello in hello-1.0
dpkg-source: info: unpacking hello_1.0.orig.tar.xz
dpkg-source: info: unpacking hello_1.0-1.debian.tar.xz

> jian@ubuntu:~/jian$ ls hello-1.0  hello_1.0-1.debian.tar.xz 
> hello_1.0-1.dsc  hello_1.0.orig.tar.xz

3.进入hello-1.0目录中,然后修改其中debian目录下的changelog文件,具体参考

jian@ubuntu:~/jian$ cd hello-1.0
jian@ubuntu:~/jian/hello-1.0$ vi debian/changelog

4.修改源代码

5.commit代码生成patch

jian@ubuntu:~/jian/hello-1.0$ dpkg-source --commit

6.debuild

jian@ubuntu:~/jian/hello-1.0$ debuild -S -sa -nc

7.把代码推上自己的ppa中

dput devppa:liruijian/kylinos-desktop/test 
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/907840.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号