0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

rpmをlessで開いてみた

Posted at

ruby-1.9.3-p545.tar.gzのrpmを作成していて試しにlessで見てみた

$ less ruby-1.9.3p545-1.el6.x86_64.rpm

以後、中身。

Name        : ruby                         Relocations: (not relocatable)
Version     : 1.9.3p545                         Vendor: (none)
Release     : 1.el6                         Build Date: 2017年01月31日 17時52分26秒
Install Date: (not installed)               Build Host: an-vs1-g21
Group       : Development/Languages         Source RPM: ruby-1.9.3p545-1.el6.src.rpm
Size        : 257559903                        License: Ruby License/GPL - see COPYING
Signature   : (none)
URL         : http://www.ruby-lang.org/
Summary     : An interpreter of object-oriented scripting language
Description :
Ruby is the interpreted scripting language for quick and easy
object-oriented programming.  It has many features to process text
files and to do system management tasks (as in Perl).  It is simple,
straight-forward, and extensible.
* 木  9月 19 2013 Daniel Haskin <djhaskin987@gmail.com> - 1.9.3-p448
- Added man pages entries

~ 省略 ~

* 金  2月 24 2012 Ian Meyer <ianmmeyer@gmail.com> - 1.9.3-p125-1
- Spec to replace system ruby with 1.9.3-p125

drwxr-xr-x    2 root    root                        0  1月 31 17:52 /usr/bin
-rwxr-xr-x    1 root    root                     4393  1月 31 17:51 /usr/bin/erb
-rwxr-xr-x    1 root    root                      542  1月 31 17:51 /usr/bin/gem
-rwxr-xr-x    1 root    root                      314  1月 31 17:51 /usr/bin/irb
-rwxr-xr-x    1 root    root                     1227  1月 31 17:51 /usr/bin/rake
-rwxr-xr-x    1 root    root                      784  1月 31 17:51 /usr/bin/rdoc
-rwxr-xr-x    1 root    root                      184  1月 31 17:51 /usr/bin/ri
-rwxr-xr-x    1 root    root                     5344  1月 31 17:52 /usr/bin/ruby
-rwxr-xr-x    1 root    root                      294  1月 31 17:51 /usr/bin/testrb
drwxr-xr-x    2 root    root                        0  1月 31 17:51 /usr/include
drwxr-xr-x    2 root    root                        0  1月 31 17:51 /usr/include/ruby
drwxr-xr-x    2 root    root                        0  1月 31 17:51 /usr/include/ruby/ruby-1.9.1
drwxr-xr-x    2 root    root                        0  1月 31 17:51 /usr/include/ruby/ruby-1.9.1/ruby
-rw-r--r--    1 root    root                      834  1月 25  2010 /usr/include/ruby/ruby-1.9.1/ruby.h
drwxr-xr-x    2 root    root                        0  1月 31 17:51 /usr/include/ruby/ruby-1.9.1/ruby/backward
-rw-r--r--    1 root    root                      529  6月 18  2011 /usr/include/ruby/ruby-1.9.1/ruby/backward/classext.h

~ 省略 ~

drwxr-xr-x    2 root    root                        0  1月 31 17:51 /usr/share/ri/1.9.1/system/fatal
-rw-r--r--    1 root    root                      396  1月 31 17:50 /usr/share/ri/1.9.1/system/fatal/cdesc-fatal.ri

「rpm -qlp」でみていた自分が悲しい・・・

ファイルの権限とかもみれるじゃん・・・・

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?