realskinner
October 15th, 2009, 03:54 PM
Hey everyone this is my first thread here. And hope I am in the correct section for this.
And also I'm very new to linux and ubuntu and I will be very glad if someone can help me with this one.
Anyway this is my problem.
I am creating a script to install this 2.
sudo apt-get install libgtk2.0-dev
sudo apt-get install libcurl4-gnutls-dev
and my script looks like this
#!/bin/bash
sudo apt-get install libgtk2.0-dev
sudo apt-get install libcurl4-gnutls-devbut the problem is that every time these 2
sudo apt-get install libgtk2.0-dev
sudo apt-get install libcurl4-gnutls-dev
gets executed I get this message in the terminal
The following packages will be upgraded:
libfreetype6 libglib2.0-0 libxcb-render0 libxcb1 libxi6
5 upgraded, 59 newly installed, 0 to remove and 245 not upgraded.
Need to get 20.8MB of archives.
After this operation, 68.6MB of additional disk space will be used.
Do you want to continue [Y/n]?So, I am wondering if there is a way that I can include my "Y" answer on my script so that I won't be inputing "Y" every time I run the script.
Guys I really appreciate any of your time...
Thanks a lot in advance....
And also I'm very new to linux and ubuntu and I will be very glad if someone can help me with this one.
Anyway this is my problem.
I am creating a script to install this 2.
sudo apt-get install libgtk2.0-dev
sudo apt-get install libcurl4-gnutls-dev
and my script looks like this
#!/bin/bash
sudo apt-get install libgtk2.0-dev
sudo apt-get install libcurl4-gnutls-devbut the problem is that every time these 2
sudo apt-get install libgtk2.0-dev
sudo apt-get install libcurl4-gnutls-dev
gets executed I get this message in the terminal
The following packages will be upgraded:
libfreetype6 libglib2.0-0 libxcb-render0 libxcb1 libxi6
5 upgraded, 59 newly installed, 0 to remove and 245 not upgraded.
Need to get 20.8MB of archives.
After this operation, 68.6MB of additional disk space will be used.
Do you want to continue [Y/n]?So, I am wondering if there is a way that I can include my "Y" answer on my script so that I won't be inputing "Y" every time I run the script.
Guys I really appreciate any of your time...
Thanks a lot in advance....