Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Mẹo: pacapt cho các distro ngoài
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Anh K. Huynh  
View profile   Translate to Translated (View Original)
 More options Oct 2 2011, 12:47 am
From: "Anh K. Huynh" <ky...@viettug.org>
Date: Sun, 2 Oct 2011 11:47:37 +0700
Local: Sun, Oct 2 2011 12:47 am
Subject: Mẹo: pacapt cho các distro ngoài
Xin chào,

Nếu bạn phải làm việc với nhiều distro khác nhau, th́ pacapt có thể
là gợi ư hay!

Số là ở nhà và trên máy cá nhân, ḿnh dùng pacman với Arch Linux.
Nhưng đi làm dịch vụ hoặc ở công ty, có cả mớ kiểu distro khác nhau:
Debian, Centos, Fedora Core, OpenSuse. Nhảy vào những hệ thống đó là
ḿnh cứ theo thói quen gơ "pacman" "pacman". Tất nhiên là ... làm ǵ
có!

Ngoài ra, nếu bạn nào dùng Debian, th́ sẽ phải khốn đốn với các tùy
chọn của "apt-get", "apt-cache". Ngay cả yum cũng phải gơ dài quá
trời "yum search", "yum install" (thua xa pacman nhỉ :)

Vấn đề là có một cái nào chung cho mấy cái "package manager" đó
không? Không lo! Bạn có thể dùng cái kịch bản bash do ḿnh viết
"pacapt" (là ghép giữa "pacman" và "apt-get", v́ ban đầu ḿnh chỉ
viết cho Debian.)

Cách dùng trên Debian, Centos, Redhat, Fedora Core, Ubuntu

<pre>
$ su - root
$ wget https://github.com/icy/pacapt/raw/master/pacman \
       -O /usr/local/bin/pacman
$ chmod 755 /usr/local/bin/pacman
</pre>

Rồi th́ xử thôi, ví dụ: cập nhật "pacman -Syv", t́m kiếm "pacman -sS
foobar", cài đặt "pacman -S foobar", ...

Chi tiết về kịch bản này bạn có thể xem ở
        https://github.com/icy/pacapt

Hy vọng là nó có ích :)

--
Anh Ky Huynh @ ICT
Registered Linux User #392115


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Anh Pentax  
View profile   Translate to Translated (View Original)
 More options Jan 9, 8:01 pm
From: Anh Pentax <anh.pen...@gmail.com> (by way of Anh K. Huynh <ky...@viettug.org>)
Date: Mon, 9 Jan 2012 17:01:34 -0800 (PST)
Local: Mon, Jan 9 2012 8:01 pm
Subject: Re: Mẹo: pacapt cho các distro ngoài
Hi,

On Oct 2 2011, 11:47 am, "Anh K. Huynh" <ky...@viettug.org> wrote:

> Nếu bạn phải làm việc với nhiều distro khác nhau, th́pacaptcó thể
> là gợi ư hay!

> ...
> Chi tiết về kịch bản này bạn có thể xem ở
>        https://github.com/icy/pacapt

<pre>pacapt</pre> hiện cần thêm vài tùy chọn trên Ubuntu / Debian, và
cần kiểm tra trên các distro khác. Bạn nào có hứng thú th́ tham gia
với ḿnh nhé ^^

Hiện nay ḿnh dùng <pre>pacapt</pre> trên tất cả các system ḿnh quản
lư :P Chẳng phải nhức đầu nhớ tới các tŕnh quản lư gói phức tạp khác
(nhất là họ nhà @.deb@).

Cảm ơn các bạn!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
h2vnteam  
View profile   Translate to Translated (View Original)
 More options Jan 13, 1:47 am
From: h2vnteam <h2vnt...@gmail.com>
Date: Thu, 12 Jan 2012 22:47:37 -0800 (PST)
Local: Fri, Jan 13 2012 1:47 am
Subject: Re: Mẹo: pacapt cho các distro ngoài
Cái này nghe có lư quá nhỉ, pack xong rồi quang lên dropbox chuyển qua
máy khác, tiết kiệm được time configure thủ công... will give it a try
soon.

Thanks bác Kỳ Anh nhé!!

On Jan 10, 8:01 am, Anh Pentax <anh.pen...@gmail.com> (by way of Anh


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »