Linux学习记录七-打包压缩&软件安装

压缩打包

gzip 压缩.gz -d参数解压缩. -1-9为压缩强度级别 默认级别为6 -f 强制覆盖
bzip2 压缩.bz2 -d参数解压缩 -f 强制覆盖
zip -r 压缩带目录的
tar c 打包 x解包  -u查看压缩包内容; cvf 为打包 z为gzip的压缩格式

 

编译源码

编译时需要gcc的依赖包,可以通过yum来安装

 

./configure –prefix=/xx/xx/xx

prefix 参数为指定软件安装的目录  目录一般为 /usr/local/src

然后make 编译二进制   可以用echo $? 检查是否有问题,如返回值为0则正常

然后make install

安装结束后,可以去/usr/local/xxx查看文件

 

删除直接rm安装目录即可

 

 

分享到:

25 条评论

昵称
  1. I’d like to find out more? I’d like to find out some
    additional information.

  2. Hello! I know this is kinda off topic however , I’d figured I’d ask.
    Would you be interested in exchanging links or maybe guest authoring a
    blog post or vice-versa? My blog discusses a lot of the same topics as
    yours and I feel we could greatly benefit from each other.
    If you might be interested feel free to send me an e-mail.
    I look forward to hearing from you! Superb blog by the way!

  3. tinyurl.com

    It’s great that you are getting ideas from this post as well as from our discussion made at this time.

  4. quest bars

    This site definitely has all the info I needed about this subject
    and didn’t know who to ask.

  5. It is appropriate time to make some plans for the future and
    it’s time to be happy. I have read this post and if I could I desire to suggest you some interesting things or
    advice. Maybe you could write next articles referring to this article.
    I wish to read even more things about it!

  6. Hello there I am so delighted I found your blog page, I really found you by
    mistake, while I was researching on Digg for something else, Nonetheless I am here now
    and would just like to say cheers for a marvelous post and a all round interesting blog (I also love
    the theme/design), I don’t have time to read through it all at the moment but I have bookmarked it and also added your RSS feeds, so when I have time
    I will be back to read much more, Please do
    keep up the excellent b.

  7. tinyurl.com

    I will immediately take hold of your rss feed as I can not to find your e-mail subscription hyperlink or
    e-newsletter service. Do you’ve any? Kindly permit me recognize
    so that I may subscribe. Thanks.

  8. Wow, marvelous blog structure! How lengthy have you been blogging for?
    you made blogging look easy. The whole look of your web site is great, let
    alone the content material!

  9. Your style is so unique compared to other people
    I have read stuff from. I appreciate you for posting when you have the opportunity, Guess I will just
    bookmark this page.

  10. Do you mind if I quote a couple of your posts as long as I provide credit and
    sources back to your webpage? My website is in the very
    same area of interest as yours and my users would really
    benefit from a lot of the information you present here.
    Please let me know if this ok with you. Appreciate it!

  11. Hello it’s me, I am also visiting this web site regularly, this web page is really nice and the visitors are actually sharing good thoughts.

  12. Hello there, You have done a fantastic job.
    I’ll certainly digg it and personally recommend
    to my friends. I am sure they’ll be benefited from this web
    site.

  13. Hi, I think your website might be having browser compatibility issues.
    When I look at your website in Opera, it looks fine but when opening in Internet Explorer, it has some overlapping.
    I just wanted to give you a quick heads up!

    Other then that, very good blog!

  14. I couldn’t refrain from commenting. Very well written!

  15. Good blog you have got here.. It’s difficult to find
    excellent writing like yours nowadays. I truly appreciate individuals like you!
    Take care!!

  16. At this moment I am going to do my breakfast, once having my breakfast
    coming again to read more news.

  17. This information is priceless. When can I find out more?

  18. With havin so much content do you ever run into any issues of plagorism
    or copyright infringement? My website has a lot of unique content I’ve either created myself or outsourced but it seems a
    lot of it is popping it up all over the internet without my permission. Do
    you know any techniques to help protect against content from being stolen? I’d truly appreciate it.

  19. Hello! This is my first visit to your blog! We are a team of volunteers and
    starting a new initiative in a community in the same niche.

    Your blog provided us useful information to work on. You have
    done a outstanding job!

  20. Hi there colleagues, its wonderful paragraph about tutoringand
    fully defined, keep it up all the time.

  21. Keep this going please, great job!

  22. Howdy! I know this is kinda off topic but I was wondering
    if you knew where I could locate a captcha plugin for my comment form?
    I’m using the same blog platform as yours and I’m having difficulty finding one?

    Thanks a lot!

  23. Greetings! Very useful advice within this post! It’s the little changes which will make
    the most important changes. Many thanks for sharing!

  24. I’m not that much of a internet reader to be honest but
    your sites really nice, keep it up! I’ll go ahead
    and bookmark your website to come back later. Many thanks

  25. I all the time used to read piece of writing in news papers
    but now as I am a user of internet therefore from now I am using net for posts, thanks
    to web.