nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Smart mini HowTo

This is a discussion on Smart mini HowTo within the Getting started tutorials forums, part of the Linux Getting Started category; Hello All, I really got lots of help and support in this forum so as I said earlier I think ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Getting started tutorials

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 12-14-2006, 12:44 PM
Senior Member
User
 
Join Date: Dec 2006
Location: /B!n@ry
My distro: openSuSE 10.2
Posts: 127
Rep Power: 0
B!n@ry
Send a message via MSN to B!n@ry
Default Smart mini HowTo

Hello All,

I really got lots of help and support in this forum so as I said earlier I think I really shall stay here and develope my skills with you and share my knowledge here with you too. Maybe my English is not too good but I shall try my best in order to explain every subject I shall talk about.

My first article here shall be about "smart", because I use it alot on my SuSE 10.1 system.

What is smart ?
Smart is an open source meta-package manager just like yum and apt, it can manage RPM, DEB and Slackware packages and provides a clean architecture to add new package and repository formats (called channels in Smart). Not to forget that Smart is released under the GNU GPL.

From where to get smart ?
For SuSE users you can get it from here http://linux01.gwdg.de/~pbleser/rpm-...=System/smart/
For Fedora users you can get it from here
http://wraptastic.org/pub/i386-linux/RPMS/
For Debian users you can get it from here
http://packages.debian.org/unstable/source/smart
You shall need the following packages installed on SuSE: rpm-python, python-element. On Debian you shall need these: python2.4-gtk2, python2.4-dev


How do I install smart ?
First under any rpm based distro. put all the packages in one directory lets say /home/user/Desktop/smart and then just do the following:
Code:
cd /home/user/Desktop/smart
Code:
rpm -ivh --aid smart-*
The command executed above shall install the packages all together, remmber this command can only be executed if all dependencies are solved.

What is the first step after installation ?
The first step after installation is to update the smart package channels, so that you can get new software in the smart repo's or as smart calls it channels. To update tha channel just do the following:
Code:
smart update
How to use smart ?
Now if you are a user always seeking GUI tools I suggest you install the GUI for smart. First to check if it is already installed or not run the following:
Code:
smart-gui
if it returns the smart gui then it is installed if not continue reading to see how.

1) Installing a package
To install a package using smart just follow this syntax: smart install
ex: installing the missing smart-gui
Code:
smart install smart-gui
2) Upgrade a package
To upgrade a package using smart just follow this syntax: smart upgrade
You can also upgrade your whole system using this code:
Code:
smart upgrade
But don't forget this shall take hours and hours on I really high Internet Connection, if your using a Dail-up !!! Never do it or maybe you shall never hear the phone ring again

3) Remove a package
To remove a package using smart just follow this syntax: smart remove
ex: To remove the gftp package do the following:
Code:
smart remove gftp
4) Search for a package
To search for a package using smart just follow this syntax: smart search
ex: to search for a kernel package do the following:
Code:
smart search kernel
5) Get Info about a package
To get information about a package using smart just follow this syntax: smart info
ex: To get information about the kcalc package do the following:
Code:
smart info kcalc
6) Dealing with smart channels
As we said smart uses channel instead of repo's, so if you want to add a channel that hasn't been added when you run
Code:
smart update
just do the following:
Code:
smart channel –-add http://software.opensuse.org/download/KDE:/KDE3/SUSE_Linux_10.1
To remove the channel:
Code:
smart channel -–remove http://software.opensuse.org/download/KDE:/KDE3/SUSE_Linux_10.1
To disable it just replace --remove with --disable

Finally, there are lots of other cool stuff you can do using smart just go and read the man page for it or you can always go back to their site which is found here: http://labix.org/smart

I really wish you like it and sorry for this mini howto, maybe I shall add to it later if nobody did.

Best Regards,
ReMSiS
__________________
LivE Free 0r DiE
L!nux rul3z aLL
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-14-2006, 05:43 PM
tom tom is offline
Contributors
User
 
Join Date: Jun 2005
Location: London, UK
Posts: 213
Rep Power: 4
tom is on a distinguished road
Default

Hey,

smart work

Thanks for sharing with us!

PS: This post belongs to tutorial section. Mod please move it.
Reply With Quote
  #3 (permalink)  
Old 12-14-2006, 06:00 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,060
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

ReMSiS,

Yo thanks for sharing man Glad to know this forum helping out!!!

@Tom, moved post to tutorials.

Appreciate your post!
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #4 (permalink)  
Old 12-17-2006, 04:22 AM
Senior Member
User
 
Join Date: Dec 2006
Location: /B!n@ry
My distro: openSuSE 10.2
Posts: 127
Rep Power: 0
B!n@ry
Send a message via MSN to B!n@ry
Default

Quote:
Originally Posted by tom
Hey,

smart work

Thanks for sharing with us!

PS: This post belongs to tutorial section. Mod please move it.
Thanx for your reply I am happy u liked it
__________________
LivE Free 0r DiE
L!nux rul3z aLL
Reply With Quote
  #5 (permalink)  
Old 12-17-2006, 04:23 AM
Senior Member
User
 
Join Date: Dec 2006
Location: /B!n@ry
My distro: openSuSE 10.2
Posts: 127
Rep Power: 0
B!n@ry
Send a message via MSN to B!n@ry
Default

Quote:
Originally Posted by nixcraft
ReMSiS,

Yo thanks for sharing man Glad to know this forum helping out!!!

@Tom, moved post to tutorials.

Appreciate your post!
Don't mension it man, really I am having a good time around here. And I appreciate your coming by.
__________________
LivE Free 0r DiE
L!nux rul3z aLL
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Mini How to :: How to configure ssh keys on Linux Ashish Pathak Getting started tutorials 3 08-31-2008 03:18 PM
mini HOWTO - Linux Kernel Compilation B!n@ry Getting started tutorials 17 09-12-2007 01:27 PM
Mail hub and smart host ricc Mail Servers 4 08-30-2007 01:01 PM


All times are GMT +5.5. The time now is 03:08 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36