LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   How to make Alsa .deb files (https://www.linuxquestions.org/questions/ubuntu-63/how-to-make-alsa-deb-files-807792/)

ravisunny2 05-14-2010 05:25 AM

How to make Alsa .deb files
 
I have two PCs. One is my work PC, the other for the kids.

I want to create the .deb files on my PC, burn to cd, copy the .deb to the PIII, and install the .deb files using
sudo dpkg ‐i package.deb

I have also done some googling on how to make a .deb file. It seems that instead of make install, I should use checkinstall.

Is this feasible ? How should how I modify the Alsa instructions ?

I got this from the Alsa site:

Make a directory to store the alsa source code in:
cd /usr/src
mkdir alsa
cd alsa
cp /downloads/alsa-* .

Now unzip and install the alsa-driver package:

bunzip2 alsa-driver-xxx
tar -xf alsa-driver-xxx
cd alsa-driver-xxx
./configure --with-cards=ymfpci --with-sequencer=yes ; make ; make install

chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi

Now unzip and install the alsa-lib package:

cd ..
bunzip2 alsa-lib-xxx
tar -xf alsa-lib-xxx
cd alsa-lib-xxx
./configure ; make ; make install

Now unzip and install the alsa-utils package:

cd ..
bunzip2 alsa-utils-xxx
tar -xf alsa-utils-xxx
cd alsa-utils-xxx
./configure ; make ; make install

Now insert the modules into the kernel:

modprobe snd-ymfpci ; modprobe snd-pcm-oss ; modprobe snd-mixer-oss ; modprobe snd-seq-oss

craigevil 05-14-2010 08:10 AM

Why not just copy the existing debs from the pc that is connected to the net, They are in var/cache/apt/archives

ravisunny2 05-15-2010 05:40 AM

The .deb file for the Alsa module for YMF740 sound card (on the PIII), is already in the var/cache/apt/archives of my C2D?


All times are GMT -5. The time now is 04:37 PM.