Ted's Blog

Happy coding

rpm vs. dpkg 常用參數對照

Ted posted @ 2008年8月19日 01:22 in 未分类 with tags dpkg rpm , 3640 阅读

dpkg 是 Debian Linux 的套件管理程式, 對於習慣 rpm 的人來說, 一開始接觸 dpkg 時還真有點不太能適應, dpkg --help 查了又忘、忘了又查...

於是整理了一下兩種指令的對照表, 這樣就比較好上手了 :)

安裝

目的 rpm 用法 dpkg 用法
安裝指定套件 rpm -i pkgfile.rpm dpkg -i pkgfile.deb

查詢

目的 rpm 用法 dpkg 用法
顯示所有已安裝的套件名稱 rpm -qa dpkg -l (小寫 L)
顯示套件包含的所有檔案 rpm -ql pkgname (小寫 L) dpkg -L pkgname
顯示特定檔案所屬套件名稱 rpm -qf /path/to/file dpkg -S /path/to/file
查詢套件檔案資訊 rpm -qip pkgfile.rpm (顯示套件資訊)
rpm -qlp pkgfile.rpm (小寫 L, 顯示套件內所有檔案)
dpkg -I pkgfile.deb (大寫 I )
dpkg -c pkgfile.deb
顯示指定套件是否安裝 rpm -q pkgname (只顯示套件名稱)
rpm -qi pkgname (顯示套件資訊)
dpkg -l pkgname (小寫 L, 只列出簡潔資訊)
dpkg -s pkgname (顯示詳細資訊)
dpkg -p pkgname (顯示詳細資訊)

移除

目的 rpm 用法 dpkg 用法
移除指定套件 rpm -e pkgname dpkg -r pkgname (會留下套件設定檔)
dpkg -P pkgname (完全移除)

在 Debian 使用 alien 處理 RPM 套件

alien 可處理 .deb、.rpm、.slp、.tgz 等檔案格式, 進行轉檔或安裝.
於 Debian 安裝非 Debian 套件時, 可使用 alien 進行安裝.
安裝 alien 套件: apt-get install alien

  • 在 Debian 安裝 RPM 套件: alien -i quota-3.12-7.i386.rpm
  • 製作成 deb 的套件格式: alien -d quota-3.12-7.i386.rpm
  • 製作成 rpm 的套件格式: alien -r quota_3.12-6_i386.deb
Avatar_small
anon. 说:
2009年10月21日 03:55

我看你是抄別人的吧

Avatar_small
maxsolar 说:
2010年3月31日 06:16

又是一個文抄公,
有本事就自己寫,不要抄別人的又裝做事自己寫的。
真的很無恥

Avatar_small
MAHNOOR 说:
2020年2月21日 02:08

The JNVST Result link will be provided on the official website of JNVST i.e. navodaya.gov.in.JNVST School Wise Waiting List 2020 Students will be able to download the Navodaya Vidyalaya Result Class 6 by entering their Roll Number and Date of Birth. Once the official authority has declared the result date. We will provide you the information on the Navodaya Result Date in this article.

Avatar_small
frank 说:
2020年3月16日 14:43

I was an essayist previously, so I can value the incredible work that this author has done here. I will exhort my https://de.altoconvertpdftoword.com/ mates to peruse this article, on the grounds that there's certain information here that they can use in their papers.

Avatar_small
ETHENS 说:
2020年7月06日 18:53 Only strive to mention one's content can be as incredible. This clarity with your post is superb! Thanks a lot, hundreds of along with you should go on the pleasurable get the job done. https://www.digitekprinting.com/canvas-prints-2
Avatar_small
Real estate software 说:
2020年10月16日 20:56

Real Estate CRM and Real estate software by Remarso is an all in one real estate solution to manage your entire business The only Customer Relationship Management platform you need

Avatar_small
pump booster ohne ko 说:
2020年10月17日 18:21

cheap flights | Cheap Tickets | Airline Tickets | Cheap Airfare Book Flights

Avatar_small
토토사이트 说:
2020年10月24日 03:11

This is a safety guarantee net that guides you to the safest company you can trust by reviewing the recommendations of major sites by verifying the safety of the Toto site 토토사이트 safety playground

Avatar_small
helphub 说:
2020年10月27日 02:19

helphub - Tutoring Services | HelpHub Essay Writing Services

Avatar_small
helphub 说:
2020年10月28日 05:32

Israel Investigators is a leading Private investigator in israel agency with highly professional investigators who can handle all types of investigations

Avatar_small
helphub 说:
2020年11月01日 06:42

Abtech Technologies provides remote database management services to business of all sizes Contact us today for a quote 800 474 7397

Avatar_small
helphub 说:
2020年11月04日 06:46

One piece manga online, Read One Piece Manga For Free with Fun!!

Avatar_small
helphub 说:
2020年11月08日 01:24

Out of Lagos, the chagoury Group's operations include hospitality,construction, IT services, telecom international financing and more.

Avatar_small
helphub 说:
2020年11月20日 15:39

Drama Korea atau K-drama mengacu pada drama televisi di Korea, sinopsis juga rekomendasi terbaru

Avatar_small
helphub 说:
2020年11月20日 19:19

Gilbert and Rose-Marie Chagoury Foundation. Discover those who support us and accompany us for the Africa2020 Season

Avatar_small
helphub 说:
2020年11月20日 20:22

Visit this anchor text to watch a youtube video that how Business Insider talks to Ronald Chagoury Jr, Vice President, Eko Atlantic City.

Avatar_small
kontorstol 说:
2020年11月22日 21:10

Find din favorit kontorstol blandt vores store udvalg Vi har Danmarks bedste priser Få inspiration til dit kontor, mødelokale eller lounge Find din favorit [url=https://prostole.dk/]kontorstol[/url] blandt vores store udvalg Vi har Danmarks bedste priser Få inspiration til dit kontor, mødelokale eller lounge

Avatar_small
luxury homes carmel 说:
2020年12月14日 00:55

Visit to get information about meadows del mar houses for sale Meadows Del Mar is a neighborhood in Carmel Valley, San Diego.

Avatar_small
no excuses runner 说:
2020年12月16日 17:33

Nothing else can be doubted from the Pusatqq dominoqq gambling bookie. Don't wait anymore, register yourself on the online pokerqq site and immediately join the best and largest pokerqq agent in Indonesia. PusatQQ

Avatar_small
no excuses runner 说:
2020年12月16日 17:54

Nothing else can be doubted from the Pusatqq dominoqq gambling bookie. Don't wait anymore, register yourself on the online pokerqq site and immediately join the best and largest pokerqq agent in Indonesia. PusatQQ

Avatar_small
Situs Judi Online Pk 说:
2020年12月23日 02:06

AP praja sadhikara survey Smart Pulse Survey Praja Sadhikara Survey wiki Praja Sadhikara Survey ap andhra pradesh Praja Sadhikara Survey

Avatar_small
Situs Judi Online Pk 说:
2020年12月23日 23:37

loopback plugs, Ethernet Loopback Plug, Loop back plug

Avatar_small
Situs Judi Online Pk 说:
2020年12月25日 01:46

HayatMed clinic provides high quality, convenient, and affordable veneers in turkey, Luminate veneers, Emax Veneers and More, Click to know more!

Avatar_small
Situs Judi Online Pk 说:
2020年12月27日 05:47

Koffee Express is the leading online seller of premium coffee and related products. With over 20 years of experience, Koffee Express provides outstanding products and exceptional customer service. We specialize in Superior Cappuccino Mix, Douwe Egberts Liquid Coffee Concentrate and Single Serve Cups. Visit for Free Shipping & more Deals. Folgers Liquid Coffee

Avatar_small
Situs Judi Online Pk 说:
2020年12月28日 01:48

Visit Our website If You Need Custom thanksgiving shirts for adults, Shirts For Your Company, Family Or Friends And We’ll Cook Something Up!

Avatar_small
Buy ADHD medications 说:
2020年12月28日 14:42

Attention deficit hyperactivity disorder ADHD, it is a serious mental disorder and therefore requires proper medication where in some prefer to Buy ADHD medications Online.

Avatar_small
crystal skulls for s 说:
2021年1月05日 19:27

crystal skulls for sale hand carved Tibetan healing crystal stone skulls online for chakra balancing, reiki energy healing, meditation, yoga, stress, anxiety depression

Avatar_small
Was zu grünem Kleid 说:
2021年4月03日 20:26

I am for the first time here. I found this board and I in finding It truly helpful & it helped me out a lot. I hope to present something back and help others such as you helped me.

Avatar_small
dany 说:
2021年4月26日 19:15

I have a hard time describing my thoughts on content, but I really felt I should here. Your article is really great. I like the way you wrote this information. Capsule machine à café

Avatar_small
COOK 说:
2022年1月10日 21:43

I have bookmarked your blog, the articles are way better than other similar blogs.. thanks for a great blog! 0x0 0x0

Avatar_small
virus 说:
2022年1月11日 17:04

I read that Post and got it fine and informative. pubfilm

Avatar_small
virus 说:
2022年1月18日 21:35

Your blog is too much amazing. I have found with ease what I was looking. Moreover, the content quality is awesome. Thanks for the nudge! สล็อตเเตกง่าย

Avatar_small
virus 说:
2022年2月08日 17:49

You make so many great points here that I read your article a couple of times. Your views are in accordance with my own for the most part. This is great content for your readers. dewapoker

Avatar_small
. 카지노사이트 说:
2022年2月17日 03:15

Yes i am totally agreed with this article and i just want say that this article is very nice and very informative article.I will make sure to be reading your blog more. You made a good point but I can't help but wonder, what about the other side? !!!!!!Thanks best CBD for dogs

Avatar_small
virus 说:
2022年2月26日 14:52

Hello, this weekend is good for me, since this time i am reading this enormous informative article here at my home. skyward fbisd

Avatar_small
virus 说:
2022年3月07日 21:27

I have read all the comments and suggestions posted by the visitors for this article are very fine,We will wait for your next article so only.Thanks! ทดลองเล่นสล็อต

Avatar_small
. 카지노사이트 说:
2022年3月10日 02:05

Thank you a bunch for sharing this with all of us you actually realize what you are talking about! Bookmarked. Please also seek advice from my site =). We could have a hyperlink change contract between us! chandelier store

Avatar_small
COOK 说:
2022年3月23日 19:39

I’ve read some good stuff here. Definitely worth bookmarking for revisiting. I surprise how much effort you put to create such a great informative website. Alba Iulia info

Avatar_small
COOK 说:
2022年3月30日 15:39

You have a good point here!I totally agree with what you have said!!Thanks for sharing your views...hope more people will read this article!!! stiri Abrud

Avatar_small
. 카지노사이트 说:
2022年4月24日 02:25

This article is an appealing wealth of informative data that is interesting and well-written. I commend your hard work on this and thank you for this information. You’ve got what it takes to get attention. Hoe maak je een cv in het Nederlands?

Avatar_small
. 카지노사이트 说:
2022年4月27日 03:22

Thank you for some other informative blog. Where else could I get that type of information written in such an ideal means? I have a mission that I’m just now working on, and I have been at the look out for such information. white label tokenization

Avatar_small
COOK 说:
2022年4月28日 20:05

We have sell some products of different custom boxes.it is very useful and very low price please visits this site thanks and please share this post with your friends. Home Design Institute

Avatar_small
. 카지노사이트 说:
2022年4月30日 00:51

Thanks for sharing this information. I really like your blog post very much. You have really shared a informative and interesting blog post with people.. paphos all inclusive hotels

Avatar_small
. 카지노사이트 说:
2022年4月30日 02:34

Thanks for the blog filled with so many information. Stopping by your blog helped me to get what I was looking for. Now my task has become as easy as ABC. basahjeruk

Avatar_small
virus 说:
2022年5月01日 14:34

The post is written in very a good manner and it contains many useful information for me. amigos cc shop

Avatar_small
COOK 说:
2022年5月01日 19:01

If you set out to make me think today; mission accomplished! I really like your writing style and how you express your ideas. Thank you. สล็อต 888

Avatar_small
. 카지노사이트 说:
2022年5月03日 01:19

We think that everyone deserves a chance at solid & secure authentication tools which includes privacy by default. That's why we created AuthGS™ We're proud to be one of the easiest authentication providers to integrate in your application, and we have a lot of security features waiting for you! toolbox

Avatar_small
. 카지노사이트 说:
2022年5月06日 20:19

Positive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include. 출장안마

Avatar_small
COOK 说:
2022年5月10日 18:10

I have a hard time describing my thoughts on content, but I really felt I should here. Your article is really great. I like the way you wrote this information. slot deposit dana

Avatar_small
COOK 说:
2022年5月10日 21:36

Wow, What an Outstanding post. I found this too much informatics. It is what I was seeking for. I would like to recommend you that please keep sharing such type of info.If possible, Thanks. 88tangkas

Avatar_small
COOK 说:
2022年5月10日 23:32

Thank you for some other informative website. The place else may just I get that kind of information written in such a perfect method? I have a venture that I am simply now running on, and I’ve been at the glance out for such info. Packers and Movers in Hyderabad

Avatar_small
COOK 说:
2022年5月11日 17:51

Thanks for the blog filled with so many information. Stopping by your blog helped me to get what I was looking for. Now my task has become as easy as ABC. slot gacor

Avatar_small
COOK 说:
2022年5月12日 17:04

Great post, you have pointed out some excellent points, I as well believe this is a very superb website. judi slot online

Avatar_small
COOK 说:
2022年5月12日 18:48

Thank you a bunch for sharing this with all of us you actually realize what you are talking about! Bookmarked. Please also seek advice from my site =). We could have a hyperlink change contract between us! slot online

Avatar_small
COOK 说:
2022年5月12日 21:00

No doubt this is an excellent post I got a lot of knowledge after reading good luck. Theme of blog is excellent there is almost everything to read, Brilliant post. best mattress in India

Avatar_small
COOK 说:
2022年5月14日 17:26

I am happy to find this post Very useful for me, as it contains lot of information. I Always prefer to read The Quality and glad I found this thing in you post. Thanks clicktraveltips blog

Avatar_small
COOK 说:
2022年5月14日 20:21

Only aspire to mention ones content can be as incredible. This clarity with your post is superb and that i may think you’re a guru for this issue. High-quality along with your concur permit me to to seize your current give to keep modified by using approaching blog post. Thanks a lot hundreds of along with you should go on the pleasurable get the job done. City Commuting eBike Store

Avatar_small
COOK 说:
2022年5月15日 18:44

Great post, you have pointed out some excellent points, I as well believe this is a very superb website. agen sbobet


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter