nixCraft Linux Forum

nixCraft

Linux / UNIX 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

Linux answers from nixCraft.


Getting started tutorials So much to read, so little time! If that is your problem, we have solution. Read our FAQ and tutorials to help you cut through the clutter of information overload. Only members of "contributors" group can post new tutorials. Other members can just reply to thread.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 14-12-2006, 11:44 AM
B!n@ry's Avatar
Senior Member
User
 
Join Date: Dec 2006
Location: B!n@ry-z0ne
OS: Ojuba 3
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
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
  #2 (permalink)  
Old 14-12-2006, 04:43 PM
tom tom is offline
Contributors
User
 
Join Date: Jun 2005
Location: London, UK
Posts: 213
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 5
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 14-12-2006, 05:00 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
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 Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #4 (permalink)  
Old 17-12-2006, 03:22 AM
B!n@ry's Avatar
Senior Member
User
 
Join Date: Dec 2006
Location: B!n@ry-z0ne
OS: Ojuba 3
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
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 17-12-2006, 03:23 AM
B!n@ry's Avatar
Senior Member
User
 
Join Date: Dec 2006
Location: B!n@ry-z0ne
OS: Ojuba 3
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
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


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 Off


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 31-08-2008 02:18 PM
mini HOWTO - Linux Kernel Compilation B!n@ry Getting started tutorials 17 12-09-2007 12:27 PM
Mail hub and smart host ricc Mail Servers 4 30-08-2007 12:01 PM


All times are GMT +5.5. The time now is 11:22 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

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 37 38